LocaleStore

Stores the text for a single locale. !(p) Some fields have a textual representation, such as day-of-week or month-of-year. These textual representations can be captured _in this class for printing and parsing. !(p) This class is immutable and thread-safe.

Constructors

this
this(Map!(TextStyle, Map!(Long, string)) valueTextMap)

Constructor.

Members

Functions

getText
string getText(long value, TextStyle style)

Gets the text for the specified field value, locale and style for the purpose of printing.

getTextIterator
Iterable!(MapEntry!(string, Long)) getTextIterator(TextStyle style)

Gets an iterator of text to field for the specified style for the purpose of parsing. !(p) The iterator must be returned _in order from the longest text to the shortest.

Meta