/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 124 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local 126 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip() 128 …LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("… in TestTimeZoneRoundTrip() 141 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip() 142 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip() 144 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip() 148 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() 189 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 195 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 204 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 125 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local 127 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip() 129 …LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("… in TestTimeZoneRoundTrip() 142 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip() 143 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip() 145 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip() 149 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() 190 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 196 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 205 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
D | ICULocaleServiceProvider.java | 52 private static Locale[] LOCALES = null; field in ICULocaleServiceProvider 130 if (LOCALES != null) { in getLocales() 131 return LOCALES; in getLocales() 163 LOCALES = localeSet.toArray(new Locale[0]); in getLocales() 164 return LOCALES; in getLocales()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 144 const Locale *LOCALES; in TestTimeZoneRoundTrip() local 148 LOCALES = testLocales; in TestTimeZoneRoundTrip() 151 LOCALES = Locale::getAvailableLocales(nLocales); in TestTimeZoneRoundTrip() 161 SimpleDateFormat gmtFmt(UnicodeString("ZZZZ"), LOCALES[locidx], status); in TestTimeZoneRoundTrip() 171 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip() 174 … PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip() 238 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 243 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 252 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() 272 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip() [all …]
|
D | dtfmapts.cpp | 74 const char *LOCALES[] = { in TestCoverage() local 83 …= DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); in TestCoverage()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 143 const Locale *LOCALES; in call() local 144 LOCALES = testLocales; in call() 155 …eDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); in call()
|
/external/icu/icu4c/source/test/cintltst/ |
D | citertst.c | 64 static const char * LOCALES[] = {"en_AU", "en_BE", "en_CA"}; variable 77 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672() 88 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672() 150 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize() 164 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672Normalize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 4783 final ULocale[][] LOCALES = { in TestChineseToLocale() local 4794 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleTest.java | 4784 final ULocale[][] LOCALES = { in TestChineseToLocale() local 4795 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()
|