Logo Search packages:      
Sourcecode: icu version File versions  Download package

StringEnumeration *U_EXPORT2 NumberFormat::getAvailableLocales ( void   )  [static, inherited]

Return a StringEnumeration over the locales available at the time of the call, including registered locales.

Returns:
a StringEnumeration over the locales available at the time of the call ICU 2.6

Definition at line 869 of file numfmt.cpp.

References NULL.

Referenced by IntlTestNumberFormat::monsterTest(), CalendarRegressionTest::test4106136(), NumberFormatRegressionTest::Test4212072(), IntlTestNumberFormatAPI::testAPI(), and IntlTestNumberFormat::testAvailableLocales().

{
  ICULocaleService *service = getNumberFormatService();
  if (service) {
    return service->getAvailableLocales();
  }
  return NULL; // no way to return error condition
}


Generated by  Doxygen 1.6.0   Back to index