Aggregates localized information associated with a certain locale, including:
language
,currency
,formats
,languages
and
currencies
.The locale also provides access to associated localized
message bundles via messages()
.
no subtypes hierarchy
Initializer |
Locale(Language language, Formats formats, Map<String,Language> languages, Map<String,Currency> currencies, String? currencyCode = null, Map<Character,String> lowercaseMappings = ..., Map<Character,String> uppercaseMappings = ...) Parameters:
|
Attributes | |
currencies | Source Codeshared Map<String,Currency> currencies Localized representations of other currencies. |
currency | Source Codeshared Currency? currency The currency of this locale. |
formats | Source Codeshared Formats formats Localized date, time, currency, and numeric formats for this locale. |
language | Source Codeshared Language language The language of this locale. |
languages | Source Codeshared Map<String,Language> languages Localized representations of other languages. |
string | Source Codeshared actual String string A developer-friendly string representing the instance.
Concatenates the name of the concrete class of the
instance with the Refines Object.string |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
lowercase | Source Codeshared String lowercase(String string) A string with the characters of the given string converted to lowercase according to the rules of this locale. |
messages | Source Codeshared Map<String,String> messages(Module|Package component, String name = ...) Given a For example, suppose the system locale is value messages = systemLocale.messages(`module`, "Errors"); Then the returned map
If no properties file is found, the map with be empty. Parameters:
|
uppercase | Source Codeshared String uppercase(String string) A string with the characters of the given string converted to uppercase according to the rules of this locale. |
Inherited Methods |
Methods inherited from: Object |