Uses of Enum Class
javax.time.calendar.format.DateTimeFormatterBuilder.FormatStyle
Packages that use DateTimeFormatterBuilder.FormatStyle
Package
Description
Provides classes to format dates and times as strings.
-
Uses of DateTimeFormatterBuilder.FormatStyle in javax.time.calendar.format
Fields in javax.time.calendar.format declared as DateTimeFormatterBuilder.FormatStyleModifier and TypeFieldDescriptionprivate final DateTimeFormatterBuilder.FormatStyle
LocalizedPrinterParser.dateStyle
The date style for the pattern, may be null.private final DateTimeFormatterBuilder.FormatStyle
LocalizedPrinterParser.timeStyle
The time style for the pattern, may be null.Methods in javax.time.calendar.format that return DateTimeFormatterBuilder.FormatStyleModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DateTimeFormatterBuilder.FormatStyle[]
DateTimeFormatterBuilder.FormatStyle.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in javax.time.calendar.format with parameters of type DateTimeFormatterBuilder.FormatStyleModifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendLocalized
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle) Appends a localized date-time pattern to the formatter.DateTimeFormatterBuilder.appendLocalized
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle, Chronology chronology) Appends a localized date-time pattern to the formatter.private int
DateTimeFormatterProviderImpl.convertStyle
(DateTimeFormatterBuilder.FormatStyle style) Converts the enum style to the old format style.static DateTimeFormatter
DateTimeFormatters.date
(DateTimeFormatterBuilder.FormatStyle dateStyle, Locale locale) Returns a locale specific date format.static DateTimeFormatter
DateTimeFormatters.dateTime
(DateTimeFormatterBuilder.FormatStyle dateTimeStyle, Locale locale) Returns a locale specific date-time format, which is typically of short length.static DateTimeFormatter
DateTimeFormatters.dateTime
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle, Locale locale) Returns a locale specific date, time or date-time format.abstract DateTimeFormatter
DateTimeFormatterProvider.getFormatter
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle, Locale locale, Chronology chronology) Gets a localized date, time or date-time format.DateTimeFormatterProviderImpl.getFormatter
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle, Locale locale, Chronology chronology) Gets a localized date, time or date-time format.static DateTimeFormatter
DateTimeFormatters.time
(DateTimeFormatterBuilder.FormatStyle timeStyle, Locale locale) Returns a locale specific time format.Constructors in javax.time.calendar.format with parameters of type DateTimeFormatterBuilder.FormatStyleModifierConstructorDescription(package private)
LocalizedPrinterParser
(DateTimeFormatterBuilder.FormatStyle dateStyle, DateTimeFormatterBuilder.FormatStyle timeStyle, Chronology chronology) Constructor.