Interface TemporalStyle.DateTime
- All Superinterfaces:
TemporalStyle
- Enclosing interface:
- TemporalStyle
Represents temporal style with a date and/or time style.
getDateStyle() and getTimeStyle() are never both null.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.xpdustry.distributor.api.component.style.TemporalStyle
TemporalStyle.DateTime, TemporalStyle.None -
Method Summary
Modifier and TypeMethodDescription@Nullable FormatStyleReturns the date style.@Nullable FormatStyleReturns the time style.default DateTimeFormatterConverts this style into aDateTimeFormatter.
-
Method Details
-
getDateStyle
@Nullable FormatStyle getDateStyle()Returns the date style. -
getTimeStyle
@Nullable FormatStyle getTimeStyle()Returns the time style. -
toFormatter
Converts this style into aDateTimeFormatter.
-