|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TextStyle | |
|---|---|
| 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 | |
|---|---|
String |
ZoneId.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of the zone, such as 'British Time' or '+02:00'. |
String |
Month.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation, such as 'Jan' or 'December'. |
String |
DayOfWeek.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation, such as 'Mon' or 'Friday'. |
| Uses of TextStyle in org.threeten.bp.chrono |
|---|
| Methods in org.threeten.bp.chrono with parameters of type TextStyle | |
|---|---|
String |
ThaiBuddhistEra.getDisplayName(TextStyle style,
Locale locale)
|
String |
MinguoEra.getDisplayName(TextStyle style,
Locale locale)
|
String |
IsoEra.getDisplayName(TextStyle style,
Locale locale)
|
String |
HijrahEra.getDisplayName(TextStyle style,
Locale locale)
|
String |
Era.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of this era. |
String |
Chronology.getDisplayName(TextStyle style,
Locale locale)
Gets the textual representation of this chronology. |
| Uses of TextStyle in org.threeten.bp.format |
|---|
| Methods in org.threeten.bp.format that return TextStyle | |
|---|---|
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 | |
|---|---|
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 | |
|---|---|
String |
DefaultInterfaceEra.getDisplayName(TextStyle style,
Locale locale)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||