Package com.ibm.icu.message2
Class DateTimeFormatterFactory.DateTimeFormatter
java.lang.Object
com.ibm.icu.message2.DateTimeFormatterFactory.DateTimeFormatter
- All Implemented Interfaces:
Formatter
- Enclosing class:
DateTimeFormatterFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA method that takes the object to format and returns the i18n-aware formatted placeholder.formatToString
(Object toFormat, Map<String, Object> variableOptions) A method that takes the object to format and returns the i18n-aware string representation.
-
Field Details
-
icuFormatter
-
-
Constructor Details
-
DateTimeFormatter
-
-
Method Details
-
format
A method that takes the object to format and returns the i18n-aware formatted placeholder. -
formatToString
A method that takes the object to format and returns the i18n-aware string representation.- Specified by:
formatToString
in interfaceFormatter
- Parameters:
toFormat
- the object to format.variableOptions
- options that are not know at build time.- Returns:
- the formatted string.
-