Lines Matching refs:Locale
43 Locale loc(locales[locIndex]);
50 std::cout << "locale: " << locales[locIndex] << "\n";
161 TimeUnitFormat* tmf_en = new TimeUnitFormat(Locale("en"), status);
163 TimeUnitFormat tmf_fr(Locale("fr"), status);
178 tmf_en->setLocale(Locale("fr"), status);
182 Locale("fr"), status);
190 TimeUnitFormat* en_long = new TimeUnitFormat(Locale("en"), UTMUTFMT_FULL_STYLE, status);
194 TimeUnitFormat* en_short = new TimeUnitFormat(Locale("en"), UTMUTFMT_ABBREVIATED_STYLE, status);
199 format->setLocale(Locale("zh"), status);
209 * to long unit names for a locale where the locale data does not
260 Locale l = Locale::createFromName(locales[locIndex]);
313 if (!assertEquals("formatted time string is not expected, locale: " + UnicodeString(locales[locIndex]) + " style: " + (int)styles[styleIndex] + " units: " + (int)tunits[unitIndex], expected[counter], str)) {
331 Locale elLoc("el");
332 NumberFormat* numberFmt = NumberFormat::createInstance(Locale("el"), status);
333 if (!assertSuccess("NumberFormat::createInstance for el locale", status, TRUE)) return;
337 if (!assertSuccess("TimeUnitFormat::TimeUnitFormat for el locale", status)) return;