Field Summary |
public static
| defaultLocale: Locale |
| The current default Locale
|
|
Method Summary |
public static
| addLocale (
l: Locale
): Void |
| Adds a locale to the current application
|
|
public
| getAmPmStrings (
): Array |
|
|
|
public
| getCountry (
): String |
| Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code.
|
|
public
| getCurrencySymbols (
): Array |
|
|
|
public
| getDateTimePatterns (
): Array |
| time-full,long,medium,short//date-full,long,medium,short
|
|
public static
| getDefault (
): Locale |
| Gets the current value of the default locale
|
|
public static
| getInstance (
locale: String
): Locale |
| Gets the Locale object for the given locale
|
|
public
| getLanguage (
): String |
| Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code.
|
|
public
| getLocale (
): String |
|
|
|
public
| getMonths (
): Array |
|
|
|
public
| getName (
): String |
| Getter for the programmatic name of the entire locale, with the language, country and variant separated by -.
|
|
public
| getNumberElements (
): Array |
|
|
|
public
| getNumberPatterns (
): Array |
|
|
|
public
| getShortMonths (
): Array |
|
|
|
public
| getShortWeekdays (
): Array |
|
|
|
public
| getWeekdays (
): Array |
|
|
|
public static
| setDefault (
aLocale: Locale
): Void |
| Sets the default locale
|
|
public
| toString (
): String |
| Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars.
|
|
|