Uses of Class
org.threeten.bp.format.TextStyle
-
Packages that use TextStyle Package Description org.threeten.bp The main API for dates, times, instants, and durations.org.threeten.bp.chrono Support for calendar systems other than the default ISO.org.threeten.bp.format Provides classes to print and parse dates and times.org.threeten.bp.jdk8 Simulates JDK 8 features on JDK 7. -
-
Uses of TextStyle in org.threeten.bp
Methods in org.threeten.bp with parameters of type TextStyle Modifier and Type Method Description String
DayOfWeek. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation, such as 'Mon' or 'Friday'.String
Month. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation, such as 'Jan' or 'December'.String
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 TextStyle Modifier and Type Method Description String
Chronology. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this chronology.String
Era. getDisplayName(TextStyle style, Locale locale)
Gets the textual representation of this era.String
HijrahEra. getDisplayName(TextStyle style, Locale locale)
String
IsoEra. getDisplayName(TextStyle style, Locale locale)
String
MinguoEra. getDisplayName(TextStyle style, Locale locale)
String
ThaiBuddhistEra. getDisplayName(TextStyle style, Locale locale)
-
Uses of TextStyle in org.threeten.bp.format
Methods in org.threeten.bp.format that return TextStyle Modifier and Type Method Description TextStyle
TextStyle. asNormal()
Converts the style to the equivalent normal style.TextStyle
TextStyle. asStandalone()
Converts the style to the equivalent stand-alone style.static TextStyle
TextStyle. valueOf(String name)
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 TextStyle Modifier and Type Method Description DateTimeFormatterBuilder
DateTimeFormatterBuilder. appendChronologyText(TextStyle textStyle)
Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.DateTimeFormatterBuilder
DateTimeFormatterBuilder. appendLocalizedOffset(TextStyle style)
Appends the localized zone offset, such as 'GMT+01:00', to the formatter.DateTimeFormatterBuilder
DateTimeFormatterBuilder. appendText(TemporalField field, TextStyle textStyle)
Appends the text of a date-time field to the formatter.DateTimeFormatterBuilder
DateTimeFormatterBuilder. appendZoneText(TextStyle textStyle)
Appends the time-zone name, such as 'British Summer Time', to the formatter.DateTimeFormatterBuilder
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.abstract Iterator<Map.Entry<String,Long>>
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. -
Uses of TextStyle in org.threeten.bp.jdk8
Methods in org.threeten.bp.jdk8 with parameters of type TextStyle Modifier and Type Method Description String
DefaultInterfaceEra. getDisplayName(TextStyle style, Locale locale)
-