java.lang.Object | |
↳ | com.google.gwt.i18n.client.impl.LocaleInfoImpl |
Implementation detail of LocaleInfo -- not a public API and subject to change. Generated interface for locale information. The default implementation returns null, which is used if the i18n module is not imported.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an array of available locale names.
| |||||||||||
Create a
DateTimeFormatInfo instance appropriate for this locale. | |||||||||||
Returns the name of the name of the cookie holding the locale to use,
which is defined in the config property
locale.cookie . | |||||||||||
Returns the current locale name, such as "default, "en_US", etc.
| |||||||||||
Returns the display name of the requested locale in its native locale, if
possible.
| |||||||||||
Returns the name of the query parameter holding the locale to use, which is
defined in the config property
locale.queryparam . | |||||||||||
Returns a NumberConstants instance appropriate for this locale.
| |||||||||||
Returns true if any locale supported by this build of the app is RTL.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a DateTimeFormatInfo
instance appropriate for this locale.
Note that the caller takes care of any caching so subclasses need not
bother.
DateTimeFormatInfo
instance
Returns the name of the name of the cookie holding the locale to use,
which is defined in the config property locale.cookie
.
Returns the display name of the requested locale in its native locale, if possible. If no native localization is available, the English name will be returned, or as a last resort just the locale name will be returned. If the locale name is unknown (including user overrides), null is returned.
localeName | the name of the locale to lookup. |
---|
Returns the name of the query parameter holding the locale to use, which is
defined in the config property locale.queryparam
.
LocalizedNames
for this locale.
Returns a NumberConstants instance appropriate for this locale.
Returns true if any locale supported by this build of the app is RTL.