Logo Search packages:      
Sourcecode: icu version File versions

UnicodeString & Collator::getDisplayName ( const Locale &  objectLocale,
UnicodeString name 
) [static, inherited]

Get name of the object for the desired Locale, in the langauge of the default locale.

objectLocale must be from getAvailableLocales
name the fill-in parameter of the return value
name of the object for the desired locale in the default language

Definition at line 144 of file coll.cpp.

  // synwee : in a dilemma whether to change to UCollator. Since 
  // UCollator is basically using the below operation.
  // Change means more mantainability where else no change means faster speed.
  return objectLocale.getDisplayName(Locale::getDefault(), name);

Generated by  Doxygen 1.6.0   Back to index