Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

Locale Class Reference

A Locale object represents a specific geographical, political, or cultural region. More...

#include <locid.h>

List of all members.

Public Types

typedef U_COMMON_API Locale::LocaleProxy LocaleProxy
 A proxy for the Locale. More...


Public Methods

 Locale ()
 Construct an empty locale. More...

 Locale (const char *language, const char *country=0, const char *variant=0)
 Construct a locale from language, country, variant. More...

 Locale (const Locale &other)
 Initializes a Locale object from another Locale object. More...

 ~Locale ()
 Destructor. More...

Locale & operator= (const Locale &other)
 Replaces the entire contents of *this with the specified value. More...

UBool operator== (const Locale &other) const
 Checks if two locale keys are the same. More...

UBool operator!= (const Locale &other) const
 Checks if two locale keys are not the same. More...

const char * getLanguage () const
 Returns the locale's ISO-639 language code. More...

const char * getCountry () const
 Returns the locale's ISO-3166 country code. More...

const char * getVariant () const
 Returns the locale's variant code. More...

const char * getName () const
 Returns the programmatic name of the entire locale, with the language, country and variant separated by underbars. More...

const char * getISO3Language () const
 returns the locale's three-letter language code, as specified in ISO draft standard ISO-639-2.. More...

const char * getISO3Country () const
 Fills in "name" with the locale's three-letter ISO-3166 country code. More...

uint32_t getLCID (void) const
 Returns the Windows LCID value corresponding to this locale. More...

UnicodeStringgetDisplayLanguage (UnicodeString &dispLang) const
 Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the default locale. More...

UnicodeStringgetDisplayLanguage (const Locale &inLocale, UnicodeString &dispLang) const
 Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the locale specified by "inLocale". More...

UnicodeStringgetDisplayCountry (UnicodeString &dispCountry) const
 Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the default locale. More...

UnicodeStringgetDisplayCountry (const Locale &inLocale, UnicodeString &dispCountry) const
 Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the locale specified by "inLocale". More...

UnicodeStringgetDisplayVariant (UnicodeString &dispVar) const
 Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the default locale. More...

UnicodeStringgetDisplayVariant (const Locale &inLocale, UnicodeString &dispVar) const
 Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the locale specified by "inLocale". More...

UnicodeStringgetDisplayName (UnicodeString &name) const
 Fills in "name" with the name of this locale in a format suitable for user display in the default locale. More...

UnicodeStringgetDisplayName (const Locale &inLocale, UnicodeString &name) const
 Fills in "name" with the name of this locale in a format suitable for user display in the locale specfied by "inLocale". More...

int32_t hashCode (void) const
 Generates a hash code for the locale. More...


Static Public Methods

const Locale & getEnglish (void)
 Useful constant for this language. More...

const Locale & getFrench (void)
 Useful constant for this language. More...

const Locale & getGerman (void)
 Useful constant for this language. More...

const Locale & getItalian (void)
 Useful constant for this language. More...

const Locale & getJapanese (void)
 Useful constant for this language. More...

const Locale & getKorean (void)
 Useful constant for this language. More...

const Locale & getChinese (void)
 Useful constant for this language. More...

const Locale & getSimplifiedChinese (void)
 Useful constant for this language. More...

const Locale & getTraditionalChinese (void)
 Useful constant for this language. More...

const Locale & getFrance (void)
 Useful constant for this country/region. More...

const Locale & getGermany (void)
 Useful constant for this country/region. More...

const Locale & getItaly (void)
 Useful constant for this country/region. More...

const Locale & getJapan (void)
 Useful constant for this country/region. More...

const Locale & getKorea (void)
 Useful constant for this country/region. More...

const Locale & getChina (void)
 Useful constant for this country/region. More...

const Locale & getPRC (void)
 Useful constant for this country/region. More...

const Locale & getTaiwan (void)
 Useful constant for this country/region. More...

const Locale & getUK (void)
 Useful constant for this country/region. More...

const Locale & getUS (void)
 Useful constant for this country/region. More...

const Locale & getCanada (void)
 Useful constant for this country/region. More...

const Locale & getCanadaFrench (void)
 Useful constant for this country/region. More...

const Locale & getDefault (void)
 Common methods of getting the current default Locale. More...

void setDefault (const Locale &newLocale, UErrorCode &success)
 Sets the default. More...

Locale createFromName (const char *name)
 Creates a locale which has had minimal canonicalization as per uloc_getName(). More...

const Locale * getAvailableLocales (int32_t &count)
 Returns a list of all installed locales. More...

const char *const * getISOCountries ()
 Gets a list of all available 2-letter country codes defined in ISO 639. More...

const char *const * getISOLanguages ()
 Gets a list of all available language codes defined in ISO 639. More...


Static Public Attributes

const LocaleProxy ENGLISH
 Useful constants for language. More...

const LocaleProxy FRENCH
const LocaleProxy GERMAN
const LocaleProxy ITALIAN
const LocaleProxy JAPANESE
const LocaleProxy KOREAN
const LocaleProxy CHINESE
const LocaleProxy SIMPLIFIED_CHINESE
const LocaleProxy TRADITIONAL_CHINESE
const LocaleProxy FRANCE
 Useful constants for country. More...

const LocaleProxy GERMANY
const LocaleProxy ITALY
const LocaleProxy JAPAN
const LocaleProxy KOREA
const LocaleProxy CHINA
const LocaleProxy PRC
const LocaleProxy TAIWAN
const LocaleProxy UK
const LocaleProxy US
const LocaleProxy CANADA
const LocaleProxy CANADA_FRENCH

Protected Methods

void setFromPOSIXID (const char *posixID)
 set it from a single string. More...


Private Methods

Locale & init (const char *cLocaleID)
 Initialize the locale object with a new name. More...


Static Private Methods

void initLocaleCache (void)
 Initialize the locale cache for commonly used locales. More...

const Locale & getLocale (int locid)

Private Attributes

char language [ULOC_LANG_CAPACITY]
char country [ULOC_COUNTRY_CAPACITY]
int32_t variantBegin
char * fullName
char fullNameBuffer [ULOC_FULLNAME_CAPACITY]

Friends

struct LocaleProxy
void locale_set_default_internal (const char *)


Detailed Description

A Locale object represents a specific geographical, political, or cultural region.

An operation that requires a Locale to perform its task is called locale-sensitive and uses the Locale to tailor information for the user. For example, displaying a number is a locale-sensitive operation--the number should be formatted according to the customs/conventions of the user's native country, region, or culture.

You create a Locale object using the constructor in this class:

 .      Locale( const   char*  language, 
 .              const   char*  country, 
 .              const   char*  variant);
 
The first argument to the constructors is a valid ISO Language Code. These codes are the lower-case two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as:
http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt

The second argument to the constructors is a valid ISO Country Code. These codes are the upper-case two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as:
http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html

The third constructor requires a third argument--the Variant. The Variant codes are vendor and browser-specific. For example, use WIN for Windows, MAC for Macintosh, and POSIX for POSIX. Where there are two variants, separate them with an underscore, and put the most important one first. For example, a Traditional Spanish collation might be referenced, with "ES", "ES", "Traditional_WIN".

Because a Locale object is just an identifier for a region, no validity check is performed when you construct a Locale. If you want to see whether particular resources are available for the Locale you construct, you must query those resources. For example, ask the NumberFormat for the locales it supports using its getAvailableLocales method.
Note: When you ask for a resource for a particular locale, you get back the best available match, not necessarily precisely what you asked for. For more information, look at ResourceBundle.

The Locale class provides a number of convenient constants that you can use to create Locale objects for commonly used locales. For example, the following refers to a Locale object for the United States:

       Locale::getUS()
 

Once you've created a Locale you can query it for information about itself. Use getCountry to get the ISO Country Code and getLanguage to get the ISO Language Code. You can use getDisplayCountry to get the name of the country suitable for displaying to the user. Similarly, you can use getDisplayLanguage to get the name of the language suitable for displaying to the user. Interestingly, the getDisplayXXX methods are themselves locale-sensitive and have two versions: one that uses the default locale and one that takes a locale as an argument and displays the name or country in a language appropriate to that locale.

The TIFC provides a number of classes that perform locale-sensitive operations. For example, the NumberFormat class formats numbers, currency, or percentages in a locale-sensitive manner. Classes such as NumberFormat have a number of convenience methods for creating a default object of that type. For example, the NumberFormat class provides these three convenience methods for creating a default NumberFormat object:

     UErrorCode success = U_ZERO_ERROR;
     Locale myLocale;
     NumberFormat *nf;
 
     nf = NumberFormat::createInstance( success );          delete nf;
     nf = NumberFormat::createCurrencyInstance( success );  delete nf;
     nf = NumberFormat::createPercentInstance( success );   delete nf;
 
Each of these methods has two variants; one with an explicit locale and one without; the latter using the default locale.
     nf = NumberFormat::createInstance( myLocale, success );          delete nf;
     nf = NumberFormat::createCurrencyInstance( myLocale, success );  delete nf;
     nf = NumberFormat::createPercentInstance( myLocale, success );   delete nf;
 
A Locale is the mechanism for identifying the kind of object (NumberFormat) that you would like to get. The locale is just a mechanism for identifying objects, not a container for the objects themselves.

Each class that performs locale-sensitive operations allows you to get all the available objects of that type. You can sift through these objects by language, country, or variant, and use the display names to present a menu to the user. For example, you can create a menu of all the collation objects suitable for a given language. Such classes implement these three class methods:

       static Locale* getAvailableLocales(int32_t& numLocales)
       static UnicodeString& getDisplayName(const Locale&  objectLocale,
                                            const Locale&  displayLocale,
                                            UnicodeString& displayName)
       static UnicodeString& getDisplayName(const Locale&  objectLocale,
                                            UnicodeString& displayName)
 

Stable:

Definition at line 178 of file locid.h.


Member Typedef Documentation

typedef struct U_COMMON_API Locale::LocaleProxy Locale::LocaleProxy
 

A proxy for the Locale.

This is defined to stay source code compatible and to remove static initialization. Treat it just like a Locale.

Deprecated:
Remove after 2002-aug-31. Use one of the other Locale get functions.


Constructor & Destructor Documentation

Locale::Locale  
 

Construct an empty locale.

It's only used when a fill-in parameter is needed.

Stable:

Locale::Locale const char *    language,
const char *    country = 0,
const char *    variant = 0
 

Construct a locale from language, country, variant.

Parameters:
language  Lowercase two-letter ISO-639 code. This parameter can instead be an ICU style C locale (e.g. "en_US"), but the other parameters must not be used.
country  Uppercase two-letter ISO-3166 code. (optional)
variant  Uppercase vendor and browser specific code. See class description. (optional)
Stable:

Locale::Locale const Locale &    other
 

Initializes a Locale object from another Locale object.

Parameters:
other  The Locale object being copied in.
Stable:

Locale::~Locale  
 

Destructor.

Stable:


Member Function Documentation

Locale Locale::createFromName const char *    name [static]
 

Creates a locale which has had minimal canonicalization as per uloc_getName().

Parameters:
name  The name to create from. If name is null, the default Locale is used.
Returns:
new locale object
Stable:
See also:
uloc_getName

const Locale* Locale::getAvailableLocales int32_t   numLocales [static]
 

Returns a list of all installed locales.

Parameters:
count  Receives the number of locales in the list.
Returns:
A pointer to an array of Locale objects. This array is the list of all locales with installed resource files. The called does NOT get ownership of this list, and must NOT delete it.
Stable:

const Locale& Locale::getCanada void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getCanadaFrench void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getChina void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getChinese void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const char * Locale::getCountry   const [inline]
 

Returns the locale's ISO-3166 country code.

Returns:
An alias to the code
Stable:

Definition at line 706 of file locid.h.

const Locale& Locale::getDefault void    [static]
 

Common methods of getting the current default Locale.

Used for the presentation: menus, dialogs, etc. Generally set once when your applet or application is initialized, then never reset. (If you do reset the default locale, you probably want to reload your GUI, so that the change is reflected in your interface.)

More advanced programs will allow users to use different locales for different fields, e.g. in a spreadsheet.

Note that the initial setting will match the host system.

System:
Stable:

UnicodeString& Locale::getDisplayCountry const Locale &    inLocale,
UnicodeString   dispCountry
const
 

Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the locale specified by "inLocale".

For example, if the locale's country code is "US" and inLocale's language code is "fr", this function would set dispCountry to "Etats-Unis".

Parameters:
inLocale  Specifies the locale to be used to display the name. In other words, if the locale's country code is "US", passing Locale::getFrench() for inLocale would result in "États-Unis", while passing Locale::getGerman() for inLocale would result in "Vereinigte Staaten".
dispCountry  Receives the country's display name.
Returns:
A reference to "dispCountry".
Stable:

UnicodeString& Locale::getDisplayCountry UnicodeString   dispCountry const
 

Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the default locale.

For example, if the locale's country code is "FR" and the default locale's language code is "en", this function would set dispCountry to "France".

Parameters:
dispCountry  Receives the country's display name.
Returns:
A reference to "dispCountry".
Stable:

UnicodeString& Locale::getDisplayLanguage const Locale &    inLocale,
UnicodeString   dispLang
const
 

Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the locale specified by "inLocale".

For example, if the locale's language code is "en" and inLocale's language code is "fr", this function would set dispLang to "Anglais".

Parameters:
inLocale  Specifies the locale to be used to display the name. In other words, if the locale's language code is "en", passing Locale::getFrench() for inLocale would result in "Anglais", while passing Locale::getGerman() for inLocale would result in "Englisch".
dispLang  Receives the language's display name.
Returns:
A reference to "dispLang".
Stable:

UnicodeString& Locale::getDisplayLanguage UnicodeString   dispLang const
 

Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the default locale.

For example, if the locale's language code is "fr" and the default locale's language code is "en", this function would set dispLang to "French".

Parameters:
dispLang  Receives the language's display name.
Returns:
A reference to "dispLang".
Stable:

UnicodeString& Locale::getDisplayName const Locale &    inLocale,
UnicodeString   name
const
 

Fills in "name" with the name of this locale in a format suitable for user display in the locale specfied by "inLocale".

This function uses getDisplayLanguage(), getDisplayCountry(), and getDisplayVariant() to do its work, and outputs the display name in the format "language (country[,variant])". For example, if inLocale is fr_FR, then en_US's display name would be "Anglais (États-Unis)", and no_NO_NY's display name would be "norvégien (Norvège,NY)".

Parameters:
inLocale  Specifies the locale to be used to display the name.
name  Receives the locale's display name.
Returns:
A reference to "name".
Stable:

UnicodeString& Locale::getDisplayName UnicodeString   name const
 

Fills in "name" with the name of this locale in a format suitable for user display in the default locale.

This function uses getDisplayLanguage(), getDisplayCountry(), and getDisplayVariant() to do its work, and outputs the display name in the format "language (country[,variant])". For example, if the default locale is en_US, then fr_FR's display name would be "French (France)", and es_MX_Traditional's display name would be "Spanish (Mexico,Traditional)".

Parameters:
name  Receives the locale's display name.
Returns:
A reference to "name".
Stable:

UnicodeString& Locale::getDisplayVariant const Locale &    inLocale,
UnicodeString   dispVar
const
 

Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the locale specified by "inLocale".

Parameters:
inLocale  Specifies the locale to be used to display the name.
dispVar  Receives the variant's display name.
Returns:
A reference to "dispVar".
Stable:

UnicodeString& Locale::getDisplayVariant UnicodeString   dispVar const
 

Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the default locale.

Parameters:
dispVar  Receives the variant's name.
Returns:
A reference to "dispVar".
Stable:

const Locale& Locale::getEnglish void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getFrance void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getFrench void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getGerman void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getGermany void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const char* Locale::getISO3Country   const
 

Fills in "name" with the locale's three-letter ISO-3166 country code.

Returns:
An alias to the code, or NULL
Stable:

const char* Locale::getISO3Language   const
 

returns the locale's three-letter language code, as specified in ISO draft standard ISO-639-2..

Returns:
An alias to the code, or NULL
Stable:

const char* const* Locale::getISOCountries   [static]
 

Gets a list of all available 2-letter country codes defined in ISO 639.

This is a pointer to an array of pointers to arrays of char. All of these pointers are owned by ICU-- do not delete them, and do not write through them. The array is terminated with a null pointer.

Returns:
a list of all available country codes
Stable:

const char* const* Locale::getISOLanguages   [static]
 

Gets a list of all available language codes defined in ISO 639.

This is a pointer to an array of pointers to arrays of char. All of these pointers are owned by ICU-- do not delete them, and do not write through them. The array is terminated with a null pointer.

Returns:
a list of all available language codes
Stable:

const Locale& Locale::getItalian void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getItaly void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getJapan void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getJapanese void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getKorea void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getKorean void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

uint32_t Locale::getLCID void    const
 

Returns the Windows LCID value corresponding to this locale.

This value is stored in the resource data for the locale as a one-to-four-digit hexadecimal number. If the resource is missing, in the wrong format, or there is no Windows LCID value that corresponds to this locale, returns 0.

Stable:

const char * Locale::getLanguage   const [inline]
 

Returns the locale's ISO-639 language code.

Returns:
An alias to the code
Stable:

Definition at line 712 of file locid.h.

const Locale& Locale::getLocale int    locid [static, private]
 

const char * Locale::getName   const [inline]
 

Returns the programmatic name of the entire locale, with the language, country and variant separated by underbars.

If a field is missing, up to two leading underbars will occur. Example: "en", "de_DE", "en_US_WIN", "de__POSIX", "fr__MAC", "__MAC", "_MT", "_FR_EURO"

Returns:
A pointer to "name".
Stable:

Definition at line 724 of file locid.h.

Referenced by RuleBasedCollator::setUCollator().

const Locale& Locale::getPRC void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getSimplifiedChinese void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getTaiwan void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getTraditionalChinese void    [static]
 

Useful constant for this language.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getUK void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const Locale& Locale::getUS void    [static]
 

Useful constant for this country/region.

Draft:
This API has been introduced in ICU 2.0. It is still in draft state and may be modified in a future release.

const char * Locale::getVariant   const [inline]
 

Returns the locale's variant code.

Returns:
An alias to the code
Stable:

Definition at line 718 of file locid.h.

int32_t Locale::hashCode void    const
 

Generates a hash code for the locale.

Stable:

Locale& Locale::init const char *    cLocaleID [private]
 

Initialize the locale object with a new name.

Was deprecated - used in implementation - moved internal

Parameters:
cLocaleID  The new locale name.

void Locale::initLocaleCache void    [static, private]
 

Initialize the locale cache for commonly used locales.

UBool Locale::operator!= const Locale &    other const [inline]
 

Checks if two locale keys are not the same.

Parameters:
other  The locale key object to be compared with this.
Returns:
True if the two locale keys are not the same, false otherwise.
Stable:

Definition at line 700 of file locid.h.

Locale& Locale::operator= const Locale &    other
 

Replaces the entire contents of *this with the specified value.

Parameters:
other  The Locale object being copied in.
Returns:
*this
Stable:

UBool Locale::operator== const Locale &    other const
 

Checks if two locale keys are the same.

Parameters:
other  The locale key object to be compared with this.
Returns:
True if the two locale keys are the same, false otherwise.
Stable:

Referenced by operator!=().

void Locale::setDefault const Locale &    newLocale,
UErrorCode   success
[static]
 

Sets the default.

Normally set once at the beginning of applet or application, then never reset. setDefault does NOT reset the host locale.

Parameters:
newLocale  Locale to set to.
System:
Stable:

void Locale::setFromPOSIXID const char *    posixID [protected]
 

set it from a single string.


Friends And Related Function Documentation

friend struct LocaleProxy [friend]
 

Definition at line 691 of file locid.h.

void locale_set_default_internal const char *    [friend]
 


Member Data Documentation

const LocaleProxy Locale::CANADA [static]
 

Definition at line 311 of file locid.h.

const LocaleProxy Locale::CANADA_FRENCH [static]
 

Definition at line 313 of file locid.h.

const LocaleProxy Locale::CHINA [static]
 

Definition at line 301 of file locid.h.

const LocaleProxy Locale::CHINESE [static]
 

Definition at line 281 of file locid.h.

const LocaleProxy Locale::ENGLISH [static]
 

Useful constants for language.

Definition at line 269 of file locid.h.

const LocaleProxy Locale::FRANCE [static]
 

Useful constants for country.

Definition at line 291 of file locid.h.

const LocaleProxy Locale::FRENCH [static]
 

Definition at line 271 of file locid.h.

const LocaleProxy Locale::GERMAN [static]
 

Definition at line 273 of file locid.h.

const LocaleProxy Locale::GERMANY [static]
 

Definition at line 293 of file locid.h.

const LocaleProxy Locale::ITALIAN [static]
 

Definition at line 275 of file locid.h.

const LocaleProxy Locale::ITALY [static]
 

Definition at line 295 of file locid.h.

const LocaleProxy Locale::JAPAN [static]
 

Definition at line 297 of file locid.h.

const LocaleProxy Locale::JAPANESE [static]
 

Definition at line 277 of file locid.h.

const LocaleProxy Locale::KOREA [static]
 

Definition at line 299 of file locid.h.

const LocaleProxy Locale::KOREAN [static]
 

Definition at line 279 of file locid.h.

const LocaleProxy Locale::PRC [static]
 

Definition at line 303 of file locid.h.

const LocaleProxy Locale::SIMPLIFIED_CHINESE [static]
 

Definition at line 283 of file locid.h.

const LocaleProxy Locale::TAIWAN [static]
 

Definition at line 305 of file locid.h.

const LocaleProxy Locale::TRADITIONAL_CHINESE [static]
 

Definition at line 285 of file locid.h.

const LocaleProxy Locale::UK [static]
 

Definition at line 307 of file locid.h.

const LocaleProxy Locale::US [static]
 

Definition at line 309 of file locid.h.

char Locale::country[ULOC_COUNTRY_CAPACITY] [private]
 

Definition at line 680 of file locid.h.

char* Locale::fullName [private]
 

Definition at line 682 of file locid.h.

char Locale::fullNameBuffer[ULOC_FULLNAME_CAPACITY] [private]
 

Definition at line 683 of file locid.h.

char Locale::language[ULOC_LANG_CAPACITY] [private]
 

Definition at line 679 of file locid.h.

int32_t Locale::variantBegin [private]
 

Definition at line 681 of file locid.h.


The documentation for this class was generated from the following file:
Generated on Mon Dec 3 19:00:53 2001 for ICU 2.0 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001