Class DatePrinter
java.lang.Object
com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
- All Implemented Interfaces:
InputRenderable
- Direct Known Subclasses:
LocalDateWrapper,LocaleDatePrinter,ZonedDateTimeWrapper
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDatePrinter(Temporal date, DateTimeFormatter defaultFormat) -
Method Summary
Modifier and TypeMethodDescriptionfullDate()fullTime()protected LocaleintintjiraDate()jqlDate()longDate()longTime()protected Stringprint(DateTimeFormatter formatter) withFormat(String format) withLocale(String locale)
-
Field Details
-
DEFAULT_LOCALE
-
-
Constructor Details
-
DatePrinter
-
-
Method Details
-
withFormat
-
format
-
as
-
asJqlDate
-
jqlDate
-
asJqlDateTime
-
jqlDateTime
-
asJiraDate
-
jiraDate
-
asJiraDateTime
-
jiraDateTime
-
asShortDate
-
shortDate
-
asShortDateTime
-
shortDateTime
-
asShortTime
-
shortTime
-
asMediumDate
-
mediumDate
-
asMediumDateTime
-
mediumDateTime
-
asMediumTime
-
mediumTime
-
asLongDate
-
longDate
-
asLongDateTime
-
longDateTime
-
asLongTime
-
asFullDate
-
fullDate
-
asFullDateTime
-
fullDateTime
-
asFullTime
-
fullTime
-
longTime
-
print
-
getDayOfWeekShortName
-
getDayOfWeekName
-
getWeekOfYear
public int getWeekOfYear() -
getWeekOfYearIso
public int getWeekOfYearIso() -
getTimeZoneShort
-
getTimeZoneFull
-
getTimeZoneNarrow
-
getOffsetShort
-
getOffsetFull
-
getOffsetNarrow
-
locale
-
withLocale
-
getLocale
-
toRenderedString
- Specified by:
toRenderedStringin interfaceInputRenderable
-