Lines Matching refs:Locale
60 /* ====== Test create interval instance with default locale and skeleton
63 logln("Testing DateIntervalFormat create instance with default locale and skeleton");
67 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + default locale) - exitting");
74 /* ====== Test create interval instance with given locale and skeleton
77 logln("Testing DateIntervalFormat create instance with given locale and skeleton");
79 dtitvfmt = DateIntervalFormat::createInstance(UDAT_YEAR_MONTH_DAY, Locale::getJapanese(), status);
81 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + locale) - exitting");
93 DateIntervalInfo* dtitvinf = new DateIntervalInfo(Locale::getSimplifiedChinese(), status);
99 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + DateIntervalInfo + default locale) - exitting");
111 dtitvinf = new DateIntervalInfo(Locale::getSimplifiedChinese(), status);
113 dtitvfmt = DateIntervalFormat::createInstance("EEEdMMMyhms", Locale::getSimplifiedChinese(), *dtitvinf, status);
116 dataerrln("ERROR: Could not create DateIntervalFormat (skeleton + DateIntervalInfo + locale) - exitting");
146 const Locale &enLocale = Locale::getEnglish();
167 LocalPointer<DateIntervalInfo> dii(new DateIntervalInfo(Locale::getEnglish(), status));
324 dtitvfmt = DateIntervalFormat::createInstance("MMMdHHmm", Locale::getEnglish(), status);
369 errln("ERROR: DateIntervalFormat::createInstance(\"MdHH\", Locale::getEnglish(), ...), status %s", u_errorName(status));
400 // followed by a group of locale/from_data/to_data/skeleton/interval_data
1068 sprintf(mesg, "locale: %s\n", locName);
1074 Locale loc(locName);
1219 Locale loc(locName);
1323 stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2]), locName);
1329 const Locale& loc, const char* locName) {
1376 sprintf(mesg, "locale: %s\n", locName);