Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java130 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local
132 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip()
134 LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), in TestTimeZoneRoundTrip()
148 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip()
149 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip()
151 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip()
155 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
196 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
202 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
211 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java127 ULocale[] LOCALES = null; in TestTimeZoneRoundTrip() local
129 LOCALES = ULocale.getAvailableLocales(); in TestTimeZoneRoundTrip()
131 LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), in TestTimeZoneRoundTrip()
145 for (int locidx = 0; locidx < LOCALES.length; locidx++) { in TestTimeZoneRoundTrip()
146 logln("Locale: " + LOCALES[locidx].toString()); in TestTimeZoneRoundTrip()
148 … String localGMTString = TimeZoneFormat.getInstance(LOCALES[locidx]).formatOffsetLocalizedGMT(0); in TestTimeZoneRoundTrip()
152 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip()
193 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
199 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
208 … + ", locale=" + LOCALES[locidx] + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java52 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()
/third_party/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h143 const Locale *LOCALES; in call() local
144 LOCALES = testLocales; in call()
155 …eDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); in call()
/third_party/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp151 const Locale *LOCALES; in TestTimeZoneRoundTrip() local
155 LOCALES = testLocales; in TestTimeZoneRoundTrip()
158 LOCALES = Locale::getAvailableLocales(nLocales); in TestTimeZoneRoundTrip()
168 SimpleDateFormat gmtFmt(UnicodeString("ZZZZ"), LOCALES[locidx], status); in TestTimeZoneRoundTrip()
177 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip()
180 … PATTERNS[patidx] + " for locale " + LOCALES[locidx].getName() + " - " + u_errorName(status)); in TestTimeZoneRoundTrip()
244 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
249 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
258 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
278 … + ", locale=" + LOCALES[locidx].getName() + ", pattern=" + PATTERNS[patidx] in TestTimeZoneRoundTrip()
[all …]
Ddtfmapts.cpp74 const char *LOCALES[] = { in TestCoverage() local
83 …= DateFormat::createDateTimeInstance(DateFormat::kMedium, DateFormat::kMedium, Locale(LOCALES[i])); in TestCoverage()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DLdmlConverter.java18 import static org.unicode.icu.tool.cldrtoicu.LdmlConverterConfig.IcuLocaleDir.LOCALES;
149 LOCALES(LDML), enumConstant
189 .putAll(OutputType.LOCALES, CURR, LANG, LOCALES, REGION, UNIT, ZONE)
320 splitPaths.put(LOCALE_SPLIT_INFO.getOrDefault(rootName, LOCALES), p); in processLdml()
DLdmlConverterConfig.java30 LOCALES(true), enumConstant
DSupplementalData.java66 private static final AttributeKey LOCALES = keyOf("parentLocale", "locales"); field in SupplementalData
128 LOCALES.listOfValuesFrom(v).forEach(c -> parentLocaleMap.put(c, p)); in create()
/third_party/icu/icu4c/source/test/cintltst/
Dcitertst.c65 static const char * LOCALES[] = {"en_AU", "en_BE", "en_CA"}; variable
78 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672()
89 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672()
151 UCollator *coll = ucol_open(LOCALES[i], &status); in TestBug672Normalize()
165 log_verbose("locale tested %s\n", LOCALES[i]); in TestBug672Normalize()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DULocaleTest.java4897 final ULocale[][] LOCALES = { in TestChineseToLocale() local
4908 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4966 final ULocale[][] LOCALES = { in TestChineseToLocale() local
4977 for (ULocale[] pair : LOCALES) { in TestChineseToLocale()
/third_party/gettext/gettext-tools/po/
Dfr.po336 msgstr "Usage : %s [OPTION…] [RÉGLES LOCALES]…\n"