Home
last modified time | relevance | path

Searched refs:LOCALES (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java116 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local
118 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip()
120LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("… in TestTimeZoneRoundTrip()
133 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip()
134 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip()
136 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip()
140 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
181 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
187 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
196 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp139 const Locale *LOCALES; in TestTimeZoneRoundTrip() local
143 LOCALES = testLocales; in TestTimeZoneRoundTrip()
146 LOCALES = Locale::getAvailableLocales(nLocales); in TestTimeZoneRoundTrip()
156 SimpleDateFormat gmtFmt(UnicodeString("ZZZZ"), LOCALES[locidx], status); in TestTimeZoneRoundTrip()
166 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
169 … PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip()
233 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
238 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
247 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
267 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
Ddtfmapts.cpp72 const char *LOCALES[] = { in TestCoverage() local
81 …= DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); in TestCoverage()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java50 private static Locale[] LOCALES = null; field in ICULocaleServiceProvider
128 if (LOCALES != null) { in getLocales()
129 return LOCALES; in getLocales()
161 LOCALES = localeSet.toArray(new Locale[0]); in getLocales()
162 return LOCALES; in getLocales()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h140 const Locale *LOCALES; in call() local
141 LOCALES = testLocales; in call()
152 …eDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); in call()
/external/icu/icu4c/source/test/cintltst/
Dcitertst.c62 static const char * LOCALES[] = {"en_AU", "en_BE", "en_CA"}; variable
75 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672()
86 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672()
148 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize()
162 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672Normalize()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4629 final ULocale[][] LOCALES = { in TestChineseToLocale() local
4640 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()