Class ZonedDateTimeWrapper
java.lang.Object
com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
com.codebarrel.automation.api.component.smartvalues.objectwrappers.ZonedDateTimeWrapper
- All Implemented Interfaces:
InputRenderable,SmartValueWrapper
- Direct Known Subclasses:
DateWrapper
-
Field Summary
FieldsFields inherited from class com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
DEFAULT_LOCALE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintconvertToTimeZone(String zoneStr) diff(ZonedDateTime diffDate) firstOfTheMonth(double day) intintintintgetHour()intintintintintintgetYear()booleanbooleanisAfter(ZonedDateTime dt) booleanbooleanbooleanbooleanisEqual(ZonedDateTime dt) booleanlastOfTheMonth(double day) intintminusBusinessDays(double value) minusBusinessHours(double value) minusDays(double days) minusHours(double hours) minusMillis(double millis) minusMinutes(double minutes) minusMonths(double months) minusSeconds(double seconds) minusWeeks(double weeks) minusYears(double years) ofTheMonth(double n, double day) plusBusinessDays(double value) plusBusinessHours(double value) plusDays(double days) plusHours(double hours) plusMillis(double millis) plusMinutes(double minutes) plusMonths(double months) plusSeconds(double seconds) plusWeeks(double weeks) plusYears(double years) setTimeZone(String zoneStr) longtoDays()withDayOfMonth(double dayOfMonth) withDayOfYear(double dayOfYear) withHour(double hour) withMillis(double millis) withMinute(double minute) withMonth(double monthOfYear) withMonthOfYear(double monthOfYear) withNextDayOfWeek(double dayCodeOfTheWeek) withNextDayOfWeek(String dayCodeOfTheWeek) withSecond(double second) 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
-
Field Details
-
MILLIS_IN_NANO
public static final int MILLIS_IN_NANO- See Also:
-
-
Constructor Details
-
ZonedDateTimeWrapper
-
-
Method Details
-
getWrappedValue
- Specified by:
getWrappedValuein interfaceSmartValueWrapper
-
plusMillis
-
plusSeconds
-
plusMinutes
-
plusHours
-
plusDays
-
plusYears
-
plusMonths
-
plusWeeks
-
minusYears
-
minusMonths
-
minusWeeks
-
minusDays
-
minusMillis
-
minusSeconds
-
minusMinutes
-
minusHours
-
getYear
public int getYear() -
getMonthOfYear
public int getMonthOfYear() -
getDayOfYear
public int getDayOfYear() -
getDayOfMonth
public int getDayOfMonth() -
getDayOfWeek
public int getDayOfWeek() -
getZoneId
-
convertToTimeZone
-
setTimeZone
-
getHour
public int getHour() -
getMinute
public int getMinute() -
getSeconds
public int getSeconds() -
getSecond
public int getSecond() -
getMillis
public int getMillis() -
withHour
-
withMinute
-
withNextDayOfWeek
-
withNextDayOfWeek
-
withSecond
-
withMillis
-
withYear
-
withMonthOfYear
-
withMonth
-
withDayOfYear
-
withDayOfMonth
-
isAfter
-
isBefore
-
isEqual
-
compareTo
-
isAfter
-
isBefore
-
isEqual
-
compareTo
-
toStartOfDay
-
toCurrentTime
-
endOfMonth
-
startOfMonth
-
firstOfTheMonth
-
lastOfTheMonth
-
ofTheMonth
-
toDays
public long toDays() -
diff
-
diff
-
toBusinessDayForwards
-
toBusinessDay
-
toBusinessDayBackwards
-
firstBusinessDayOfMonth
-
LastBusinessDayOfMonth
-
plusBusinessDays
-
plusBusinessHours
-
minusBusinessDays
-
minusBusinessHours
-
isLeapYear
public boolean isLeapYear() -
lengthOfMonth
public int lengthOfMonth() -
lengthOfYear
public int lengthOfYear()
-