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.
Simulates JDK 8 features on JDK 7.
-
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.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
Fields in org.threeten.bp.format declared as TextStyleModifier and TypeFieldDescriptionprivate final TextStyleDateTimeFormatterBuilder.LocalizedOffsetPrinterParser.styleprivate final TextStyleDateTimeFormatterBuilder.ChronoPrinterParser.textStyleThe text style to output, null means the ID.private final TextStyleDateTimeFormatterBuilder.TextPrinterParser.textStyleprivate final TextStyleDateTimeFormatterBuilder.ZoneTextPrinterParser.textStyleThe text style to output.Fields in org.threeten.bp.format with type parameters of type TextStyleModifier and TypeFieldDescriptionSimpleDateTimeTextProvider.LocaleStore.parsableParsable data.SimpleDateTimeTextProvider.LocaleStore.valueTextMapMap of value to text.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 TextStyleReturns 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 StringDateTimeTextProvider.getText(TemporalField field, long value, TextStyle style, Locale locale) Gets the text for the specified field, locale and style for the purpose of printing.SimpleDateTimeTextProvider.getText(TemporalField field, long value, TextStyle style, Locale locale) (package private) StringGets the text for the specified field value, 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.SimpleDateTimeTextProvider.getTextIterator(TemporalField field, TextStyle style, Locale locale) SimpleDateTimeTextProvider.LocaleStore.getTextIterator(TextStyle style) Gets an iterator of text to field for the specified style for the purpose of parsing.Method parameters in org.threeten.bp.format with type arguments of type TextStyleConstructors in org.threeten.bp.format with parameters of type TextStyleModifierConstructorDescription(package private)ChronoPrinterParser(TextStyle textStyle) (package private)TextPrinterParser(TemporalField field, TextStyle textStyle, DateTimeTextProvider provider) Constructor.(package private)ZoneTextPrinterParser(TextStyle textStyle) Constructor parameters in org.threeten.bp.format with type arguments of type TextStyle -
Uses of TextStyle in org.threeten.bp.jdk8
Methods in org.threeten.bp.jdk8 with parameters of type TextStyleModifier and TypeMethodDescriptionDefaultInterfaceEra.getDisplayName(TextStyle style, Locale locale)