Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java123 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local
125 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip()
127LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("… in TestTimeZoneRoundTrip()
140 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip()
141 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip()
143 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip()
147 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
188 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
194 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
203 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java119 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local
121 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip()
123LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("… in TestTimeZoneRoundTrip()
136 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip()
137 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip()
139 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip()
143 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
184 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
190 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
199 … + ", 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/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java4677 final ULocale[][] LOCALES = { in TestChineseToLocale() local
4688 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4673 final ULocale[][] LOCALES = { in TestChineseToLocale() local
4684 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()