Uses of Enum
org.threeten.bp.format.TextStyle
Packages that use TextStyle
Package
Description
The main API for dates, times, instants, and durations.
Support for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
-
Uses of TextStyle in org.threeten.bp
Methods in org.threeten.bp with parameters of type TextStyleModifier and TypeMethodDescriptionDayOfWeek.getDisplayName(TextStyle style, Locale locale)
Gets the textual representation, such as 'Mon' or 'Friday'.Month.getDisplayName(TextStyle style, Locale locale)
Gets the textual representation, such as 'Jan' or 'December'.ZoneId.getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of the zone, such as 'British Time' or '+02:00'. -
Uses of TextStyle in org.threeten.bp.chrono
Methods in org.threeten.bp.chrono with parameters of type TextStyleModifier and TypeMethodDescriptionChronology.getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this chronology.default String
Era.getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.HijrahEra.getDisplayName(TextStyle style, Locale locale)
IsoEra.getDisplayName(TextStyle style, Locale locale)
MinguoEra.getDisplayName(TextStyle style, Locale locale)
ThaiBuddhistEra.getDisplayName(TextStyle style, Locale locale)
-
Uses of TextStyle in org.threeten.bp.format
Methods in org.threeten.bp.format that return TextStyleModifier and TypeMethodDescriptionTextStyle.asNormal()
Converts the style to the equivalent normal style.TextStyle.asStandalone()
Converts the style to the equivalent stand-alone style.static TextStyle
Returns the enum constant of this type with the specified name.static TextStyle[]
TextStyle.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.threeten.bp.format with parameters of type TextStyleModifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendChronologyText(TextStyle textStyle)
Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.DateTimeFormatterBuilder.appendLocalizedOffset(TextStyle style)
Appends the localized zone offset, such as 'GMT+01:00', to the formatter.DateTimeFormatterBuilder.appendText(TemporalField field, TextStyle textStyle)
Appends the text of a date-time field to the formatter.DateTimeFormatterBuilder.appendZoneText(TextStyle textStyle)
Appends the time-zone name, such as 'British Summer Time', to the formatter.DateTimeFormatterBuilder.appendZoneText(TextStyle textStyle, Set<ZoneId> preferredZones)
Appends the time-zone name, such as 'British Summer Time', to the formatter.abstract String
DateTimeTextProvider.getText(TemporalField field, long value, TextStyle style, Locale locale)
Gets the text for the specified field, locale and style for the purpose of printing.DateTimeTextProvider.getTextIterator(TemporalField field, TextStyle style, Locale locale)
Gets an iterator of text to field for the specified field, locale and style for the purpose of parsing.