Logo Search packages:      
Sourcecode: icu version File versions

Constants for *_getLocale() Allow user to select whether she wants information on requested, valid or actual locale. For example, a collator for "en_US_CALIFORNIA" was requested. In the current state of ICU (2.0), the requested locale is "en_US_CALIFORNIA", the valid locale is "en_US" (most specific locale supported by ICU) and the actual locale is "root" (the collation data comes unmodified from the UCA) The locale is considered supported by ICU if there is a core ICU bundle for that locale (although it may be empty). ICU 2.1

Enumerator:
ULOC_ACTUAL_LOCALE 

This is locale the data actually comes from ICU 2.1

ULOC_VALID_LOCALE 

This is the most specific locale supported by ICU ICU 2.1

ULOC_REQUESTED_LOCALE 

This is the requested locale

Deprecated:
ICU 2.8

Definition at line 336 of file uloc.h.

             {
  /** This is locale the data actually comes from 
   * @stable ICU 2.1
   */
  ULOC_ACTUAL_LOCALE    = 0,
  /** This is the most specific locale supported by ICU 
   * @stable ICU 2.1
   */
  ULOC_VALID_LOCALE    = 1,

#ifndef U_HIDE_DEPRECATED_API
  /** This is the requested locale
   *  @deprecated ICU 2.8 
   */
  ULOC_REQUESTED_LOCALE = 2,
#endif /* U_HIDE_DEPRECATED_API */

  ULOC_DATA_LOCALE_TYPE_LIMIT = 3
} ULocDataLocaleType ;

Generated by  Doxygen 1.6.0   Back to index