Deprecated
as a consequence of FormatterFactory being deprecated. See corresponding docs for further information.
Formatter doing formatting of date / time, similar to
{exp, date} and {exp, time} in com.ibm.icu.text.MessageFormat .
| Modifier and Type | Class and Description |
|---|---|
| private static class | DateTimeFormatterFactory.DateTimeFormatter
Deprecated
as a consequence of
Formatter being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Formatter | createFormatter(Locale
the locale to use for formatting. locale, Map<String, Object> the options to use for formatting. The keys and values are function dependent. fixedOptions)Implements com.
Deprecated
as a consequence of
The method that is called to create a formatter.
Formatter being deprecated.
|
| private static int |
| DateTimeFormatterFactory | back to summary |
|---|---|
| pack-priv DateTimeFormatterFactory() | |
| createFormatter | back to summary |
|---|---|
| public Formatter createFormatter(Locale locale, Map<String, Object> fixedOptions) Implements com. Doc from com. Deprecated as a consequence of The method that is called to create a formatter.
| |
| stringToStyle | back to summary |
|---|---|
| private static int stringToStyle(String option) | |
Deprecated
as a consequence of Formatter being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final DateFormat |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public FormattedPlaceholder | format(Object
the object to format. toFormat, Map<String, Object> options that are not know at build time. variableOptions)Implements com.
Deprecated
as a consequence of
A method that takes the object to format and returns
the i18n-aware formatted placeholder.
FormattedPlaceholder being deprecated.
|
| public String | formatToString(Object
the object to format. toFormat, Map<String, Object> options that are not know at build time. variableOptions)Implements com. |
| icuFormatter | back to summary |
|---|---|
| private final DateFormat icuFormatter | |
| DateTimeFormatter | back to summary |
|---|---|
| private DateTimeFormatter(DateFormat df) | |
| format | back to summary |
|---|---|
| public FormattedPlaceholder format(Object toFormat, Map<String, Object> variableOptions) Implements com. Doc from com. Deprecated as a consequence of A method that takes the object to format and returns the i18n-aware formatted placeholder. | |
| formatToString | back to summary |
|---|---|
| public String formatToString(Object toFormat, Map<String, Object> variableOptions) Implements com. Doc from com. A method that takes the object to format and returns the i18n-aware string representation. | |