Package | Description |
---|---|
javax.time.calendar |
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
|
javax.time.calendar.format |
Provides classes to format dates and times as strings.
|
Modifier and Type | Method and Description |
---|---|
String |
DateTimeFieldRule.getText(int value,
Locale locale,
DateTimeFormatterBuilder.TextStyle textStyle)
Gets the text for this field.
|
DateTimeFieldRule.TextStore |
DateTimeFieldRule.getTextStore(Locale locale,
DateTimeFormatterBuilder.TextStyle textStyle)
Gets the text map for this field with the specified locale and style.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DateTimeFieldRule.createTextStores(EnumMap<DateTimeFormatterBuilder.TextStyle,DateTimeFieldRule.TextStore> textStores,
Locale locale)
Creates the text store for each style for the specified locale.
|
Modifier and Type | Method and Description |
---|---|
static DateTimeFormatterBuilder.TextStyle |
DateTimeFormatterBuilder.TextStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeFormatterBuilder.TextStyle[] |
DateTimeFormatterBuilder.TextStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendText(DateTimeFieldRule<?> rule,
DateTimeFormatterBuilder.TextStyle textStyle)
Appends the text of a date-time field to the formatter.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendZoneText(DateTimeFormatterBuilder.TextStyle textStyle)
Appends the time-zone rule name, such as 'British Summer Time', to the formatter.
|
Copyright © 2014. All rights reserved.