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 java.lang.StringDayOfWeek. getDisplayName(TextStyle style, java.util.Locale locale)Gets the textual representation, such as 'Mon' or 'Friday'.java.lang.StringMonth. getDisplayName(TextStyle style, java.util.Locale locale)Gets the textual representation, such as 'Jan' or 'December'.java.lang.StringZoneId. getDisplayName(TextStyle style, java.util.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 java.lang.StringChronology. getDisplayName(TextStyle style, java.util.Locale locale)Gets the textual representation of this chronology.java.lang.StringEra. getDisplayName(TextStyle style, java.util.Locale locale)Gets the textual representation of this era.java.lang.StringHijrahEra. getDisplayName(TextStyle style, java.util.Locale locale)java.lang.StringIsoEra. getDisplayName(TextStyle style, java.util.Locale locale)java.lang.StringMinguoEra. getDisplayName(TextStyle style, java.util.Locale locale)java.lang.StringThaiBuddhistEra. getDisplayName(TextStyle style, java.util.Locale locale) -
Uses of TextStyle in org.threeten.bp.format
Fields in org.threeten.bp.format declared as TextStyle Modifier and Type Field Description private TextStyleDateTimeFormatterBuilder.LocalizedOffsetPrinterParser. styleprivate TextStyleDateTimeFormatterBuilder.ChronoPrinterParser. textStyleThe text style to output, null means the ID.private TextStyleDateTimeFormatterBuilder.TextPrinterParser. textStyleprivate TextStyleDateTimeFormatterBuilder.ZoneTextPrinterParser. textStyleThe text style to output.Fields in org.threeten.bp.format with type parameters of type TextStyle Modifier and Type Field Description private java.util.Map<TextStyle,java.util.List<java.util.Map.Entry<java.lang.String,java.lang.Long>>>SimpleDateTimeTextProvider.LocaleStore. parsableParsable data.private java.util.Map<TextStyle,java.util.Map<java.lang.Long,java.lang.String>>SimpleDateTimeTextProvider.LocaleStore. valueTextMapMap of value to text.Methods in org.threeten.bp.format that return TextStyle Modifier and Type Method Description TextStyleTextStyle. asNormal()Converts the style to the equivalent normal style.TextStyleTextStyle. asStandalone()Converts the style to the equivalent stand-alone style.static TextStyleTextStyle. valueOf(java.lang.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 DateTimeFormatterBuilderDateTimeFormatterBuilder. appendChronologyText(TextStyle textStyle)Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendLocalizedOffset(TextStyle style)Appends the localized zone offset, such as 'GMT+01:00', to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(TemporalField field, TextStyle textStyle)Appends the text of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendZoneText(TextStyle textStyle)Appends the time-zone name, such as 'British Summer Time', to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendZoneText(TextStyle textStyle, java.util.Set<ZoneId> preferredZones)Appends the time-zone name, such as 'British Summer Time', to the formatter.abstract java.lang.StringDateTimeTextProvider. getText(TemporalField field, long value, TextStyle style, java.util.Locale locale)Gets the text for the specified field, locale and style for the purpose of printing.java.lang.StringSimpleDateTimeTextProvider. getText(TemporalField field, long value, TextStyle style, java.util.Locale locale)(package private) java.lang.StringSimpleDateTimeTextProvider.LocaleStore. getText(long value, TextStyle style)Gets the text for the specified field value, locale and style for the purpose of printing.abstract java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Long>>DateTimeTextProvider. getTextIterator(TemporalField field, TextStyle style, java.util.Locale locale)Gets an iterator of text to field for the specified field, locale and style for the purpose of parsing.java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Long>>SimpleDateTimeTextProvider. getTextIterator(TemporalField field, TextStyle style, java.util.Locale locale)(package private) java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Long>>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 TextStyle Modifier and Type Method Description private static SimpleDateTimeTextProvider.LocaleStoreSimpleDateTimeTextProvider. createLocaleStore(java.util.Map<TextStyle,java.util.Map<java.lang.Long,java.lang.String>> valueTextMap)Constructors in org.threeten.bp.format with parameters of type TextStyle Constructor Description ChronoPrinterParser(TextStyle textStyle)LocalizedOffsetPrinterParser(TextStyle style)TextPrinterParser(TemporalField field, TextStyle textStyle, DateTimeTextProvider provider)Constructor.ZoneTextPrinterParser(TextStyle textStyle)Constructor parameters in org.threeten.bp.format with type arguments of type TextStyle Constructor Description LocaleStore(java.util.Map<TextStyle,java.util.Map<java.lang.Long,java.lang.String>> valueTextMap)Constructor. -
Uses of TextStyle in org.threeten.bp.jdk8
Methods in org.threeten.bp.jdk8 with parameters of type TextStyle Modifier and Type Method Description java.lang.StringDefaultInterfaceEra. getDisplayName(TextStyle style, java.util.Locale locale)
-