Class LocalDateWrapper
java.lang.Object
com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
com.codebarrel.automation.api.component.smartvalues.objectwrappers.LocalDateWrapper
- All Implemented Interfaces:
InputRenderable,SmartValueWrapper
- Direct Known Subclasses:
LegacyLocalDateWrapper
-
Field Summary
Fields inherited from class com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
DEFAULT_LOCALE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintfirstOfTheMonth(double day) intintintintintgetYear()booleanbooleanisAfter(ZonedDateTime dt) booleanbooleanbooleanbooleanisEqual(ZonedDateTime dt) booleanlastOfTheMonth(double day) intintminusBusinessDays(double value) minusDays(double days) minusMonths(double months) minusWeeks(double weeks) minusYears(double years) ofTheMonth(double n, double day) plusBusinessDays(double value) plusDays(double days) plusMonths(double months) plusWeeks(double weeks) plusYears(double years) toDateTimeAtCurrentTime(String timeZone) toDateTimeAtStartOfDay(String timeZone) longtoDays()withDayOfMonth(double dayOfMonth) withDayOfYear(double dayOfYear) withMonth(double monthOfYear) withMonthOfYear(double monthOfYear) withNextDayOfWeek(double dayCodeOfTheWeek) withNextDayOfWeek(String dayCodeOfTheWeek) withYear(double year) Methods inherited from class com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
as, asFullDate, asFullDateTime, asFullTime, asJiraDate, asJiraDateTime, asJqlDate, asJqlDateTime, asLongDate, asLongDateTime, asLongTime, asMediumDate, asMediumDateTime, asMediumTime, asShortDate, asShortDateTime, asShortTime, format, fullDate, fullDateTime, fullTime, getDayOfWeekName, getDayOfWeekShortName, getLocale, getOffsetFull, getOffsetNarrow, getOffsetShort, getTimeZoneFull, getTimeZoneNarrow, getTimeZoneShort, getWeekOfYear, getWeekOfYearIso, jiraDate, jiraDateTime, jqlDate, jqlDateTime, locale, longDate, longDateTime, longTime, mediumDate, mediumDateTime, mediumTime, print, shortDate, shortDateTime, shortTime, toRenderedString, withFormat, withLocale
-
Constructor Details
-
LocalDateWrapper
-
-
Method Details
-
plusDays
-
plusYears
-
plusMonths
-
plusWeeks
-
minusYears
-
minusMonths
-
minusWeeks
-
minusDays
-
getYear
public int getYear() -
getMonthOfYear
public int getMonthOfYear() -
getDayOfYear
public int getDayOfYear() -
getDayOfMonth
public int getDayOfMonth() -
getDayOfWeek
public int getDayOfWeek() -
withYear
-
withMonthOfYear
-
withMonth
-
withNextDayOfWeek
-
withNextDayOfWeek
-
withDayOfYear
-
withDayOfMonth
-
isAfter
-
isBefore
-
isEqual
-
compareTo
-
isAfter
-
isBefore
-
isEqual
-
compareTo
-
toDateTimeAtStartOfDay
-
toDateTimeAtStartOfDay
-
toDateTimeAtCurrentTime
-
toDateTimeAtCurrentTime
-
endOfMonth
-
startOfMonth
-
firstOfTheMonth
-
lastOfTheMonth
-
ofTheMonth
-
toDays
public long toDays() -
diff
-
toBusinessDayForwards
-
toBusinessDay
-
toBusinessDayBackwards
-
firstBusinessDayOfMonth
-
LastBusinessDayOfMonth
-
plusBusinessDays
-
minusBusinessDays
-
isLeapYear
public boolean isLeapYear() -
lengthOfMonth
public int lengthOfMonth() -
lengthOfYear
public int lengthOfYear() -
getWrappedValue
- Specified by:
getWrappedValuein interfaceSmartValueWrapper
-