Logo Search packages:      
Sourcecode: icu version File versions

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". ICU 2.0

Definition at line 752 of file locid.h.

Referenced by LocaleTest::_checklocs(), DecimalFormat::compareComplexAffix(), DefaultCalendarFactory::create(), BasicCalendarFactory::create(), NumberingSystem::createInstance(), Collator::createInstance(), Calendar::createInstance(), LocaleTest::doTestDisplayNames(), DecimalFormat::expandAffix(), Collator::getFunctionalEquivalent(), Collator::getKeywordValuesForLocale(), DecimalFormatSymbols::initialize(), DateIntervalInfo::initializeData(), DateFormatSymbols::initializeData(), NumberFormat::makeInstance(), MessageFormat::MessageFormat(), ResourceBundle::ResourceBundle(), DecimalFormat::setCurrencyForSymbols(), setDefault(), MessageFormat::setLocale(), RuleBasedCollator::setLocales(), RuleBasedCollator::setUCollator(), StringSearch::StringSearch(), LocaleTest::Test4147315(), LocaleTest::Test4147317(), IntlTestNumberFormat::testAvailableLocales(), IntlTestDateFormat::testAvailableLocales(), LocaleTest::TestBasicGetters(), LocaleTest::TestEuroSupport(), CollationAPITest::TestGetLocale(), LocaleTest::TestSimpleResourceInfo(), LocaleTest::TestToString(), UnicodeString::toLower(), UnicodeString::toTitle(), UnicodeString::toUpper(), IntlTestNumberFormat::tryIt(), and ucol_getAvailable().

{
    return fullName;
}


Generated by  Doxygen 1.6.0   Back to index