20 #if !UCONFIG_NO_FORMATTING 88 virtual const Locale& getLocale()
const = 0;
123 virtual UnicodeString& localeDisplayName(
const char* localeId,
174 virtual UnicodeString& variantDisplayName(
const char* variant,
195 virtual UnicodeString& keyValueDisplayName(
const char* key,
const char* value,
static LocaleDisplayNames * createInstance(const Locale &locale)
Convenience overload of createInstance(const Locale& locale, UDialectHandling dialectHandling) that s...
UDisplayContext
Display context settings.
UScriptCode
Constants for ISO 15924 script codes.
C API: Display context types (enum values)
C API: Unicode Script Information.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Use standard names when generating a locale name, e.g.
UDialectHandling
Enum used in LocaleDisplayNames::createInstance.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UDisplayContextType
Display context types, for getting values of a particular setting.
C++ API: String Enumeration.
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
Returns display names of Locales and components of Locales.
UObject is the common ICU "boilerplate" class.
C API: Provides display names of Locale ids and their components.
A Locale object represents a specific geographical, political, or cultural region.