LocaleDisplayNames.DialectHandling
public
static
final
enum
LocaleDisplayNames.DialectHandling
extends Enum<LocaleDisplayNames.DialectHandling>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.LocaleDisplayNames.DialectHandling> | |
↳ | android.icu.text.LocaleDisplayNames.DialectHandling |
Enum used in LocaleDisplayNames.getInstance(android.icu.util.ULocale, android.icu.text.LocaleDisplayNames.DialectHandling)
.
Summary
Enum values | |
---|---|
LocaleDisplayNames.DialectHandling |
DIALECT_NAMES
Use dialect names when generating a locale name, e.g. en_GB displays as 'British English'. |
LocaleDisplayNames.DialectHandling |
STANDARD_NAMES
Use standard names when generating a locale name, e.g. en_GB displays as 'English (United Kingdom)'. |
Public methods | |
---|---|
static
LocaleDisplayNames.DialectHandling
|
valueOf(String name)
|
static
final
DialectHandling[]
|
values()
|
Inherited methods | |
---|---|
Enum values
DIALECT_NAMES
public static final LocaleDisplayNames.DialectHandling DIALECT_NAMES
Use dialect names when generating a locale name, e.g. en_GB displays as 'British English'.
STANDARD_NAMES
public static final LocaleDisplayNames.DialectHandling STANDARD_NAMES
Use standard names when generating a locale name, e.g. en_GB displays as 'English (United Kingdom)'.
Public methods
valueOf
public static LocaleDisplayNames.DialectHandling valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
LocaleDisplayNames.DialectHandling |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.