public class LocaleInfo extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LocaleInfo()
Constructor to be used by subclasses, such as mock classes for testing.
|
| Modifier and Type | Method and Description |
|---|---|
static LocaleInfo |
getCurrentLocale()
Returns a LocaleInfo instance for the current locale.
|
DateTimeFormatInfo |
getDateTimeFormatInfo()
Returns a DateTimeConstants instance for this locale.
|
String |
getLocaleName()
Returns the name of this locale, such as "default, "en_US", etc.
|
LocalizedNames |
getLocalizedNames() |
NumberConstants |
getNumberConstants()
Returns a NumberConstants instance for this locale.
|
boolean |
isRTL()
Returns true if this locale is right-to-left instead of left-to-right.
|
protected LocaleInfo()
public static final LocaleInfo getCurrentLocale()
public final DateTimeFormatInfo getDateTimeFormatInfo()
public final String getLocaleName()
public final LocalizedNames getLocalizedNames()
LocalizedNames for this locale.public final NumberConstants getNumberConstants()
public final boolean isRTL()
Copyright © 2019–2020 The GWT Project Authors. All rights reserved.