This allows the flexibility of adding localizations for new localizations at any time.
P arsing is the reverse operation of converting strings into number and date objects.
Dates and numbers are represented internally in a locale-independent way. When these objects are printed or displayed, they must be converted to localized strings. It can also tell if two strings match, for searching. The Collator class and its subclass RuleBasedCollator perform locale-sensitive string comparison. You use these classes to build searching and alphabetical sorting routines for natural language text.