Java.Util.Locale: Property Members

The properties of Java.Util.Locale are listed below. For a list of all members, see the Locale Members list.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
static
CanadaLocale. Locale constant for en_CA.
[read-only]
static
CanadaFrenchLocale. Locale constant for fr_CA.
[read-only]
static
ChinaLocale. Locale constant for zh_CN.
[read-only]
static
ChineseLocale. Locale constant for zh.
[read-only]
Countrystring. Returns the country code for this locale, or "" if this locale doesn't correspond to a specific country.
static
DefaultLocale. Returns the user's preferred locale.
[read-only]
DisplayCountrystring. Equivalent to getDisplayCountry(Locale.getDefault()).
[read-only]
DisplayLanguagestring. Equivalent to getDisplayLanguage(Locale.getDefault()).
[read-only]
DisplayNamestring. Equivalent to getDisplayName(Locale.getDefault()).
[read-only]
DisplayScriptstring. Equivalent to getDisplayScript(Locale.getDefault()))
[read-only]
DisplayVariantstring. Returns the full variant name in the default Locale for the variant code of this Locale.
[read-only]
static
EnglishLocale. Locale constant for en.
[read-only]
ExtensionKeysICollection<Java.Lang.Character>. Returns the set of BCP-47 extensions this locale contains.
[read-only]
static
FranceLocale. Locale constant for fr_FR.
[read-only]
static
FrenchLocale. Locale constant for fr.
[read-only]
static
GermanLocale. Locale constant for de.
[read-only]
static
GermanyLocale. Locale constant for de_DE.
[read-only]
ISO3Countrystring. Returns the three-letter ISO 3166 country code which corresponds to the country code for this Locale.
[read-only]
ISO3Languagestring. Returns the three-letter ISO 639-2/T language code which corresponds to the language code for this Locale.
[read-only]
static
ItalianLocale. Locale constant for it.
[read-only]
static
ItalyLocale. Locale constant for it_IT.
[read-only]
static
JapanLocale. Locale constant for ja_JP.
[read-only]
static
JapaneseLocale. Locale constant for ja.
[read-only]
static
KoreaLocale. Locale constant for ko_KR.
[read-only]
static
KoreanLocale. Locale constant for ko.
[read-only]
Languagestring. Returns the language code for this Locale or the empty string if no language was set.
[read-only]
static
PrcLocale. Locale constant for zh_CN.
[read-only]
static
PrivateUseExtensionchar. BCP-47 extension identifier (or "singleton") for the private use extension.
[read-only]
static
RootLocale. Locale constant for the root locale.
[read-only]
Scriptstring. Returns the script code for this Locale or an empty String if no script was set.
[read-only]
static
SimplifiedChineseLocale. Locale constant for zh_CN.
[read-only]
static
TaiwanLocale. Locale constant for zh_TW.
[read-only]
static
TraditionalChineseLocale. Locale constant for zh_TW.
[read-only]
static
UkLocale. Locale constant for en_GB.
[read-only]
UnicodeLocaleAttributesICollection<string>. Returns the set of unicode locale extension attributes this locale contains.
[read-only]
static
UnicodeLocaleExtensionchar. BCP-47 extension identifier (or "singleton") for the unicode locale extension.
[read-only]
UnicodeLocaleKeysICollection<string>. Returns the set of unicode locale extension keywords this locale contains.
[read-only]
static
UsLocale. Locale constant for en_US.
[read-only]
Variantstring. Returns the variant code for this Locale or an empty String if no variant was set.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.