Home
last modified time | relevance | path

Searched refs:Locale (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java26 import java.util.Locale;
31 private Locale originalLocale;
36 originalLocale = Locale.getDefault(); in setUp()
41 Locale.setDefault(originalLocale); in tearDown()
60 Currency c1 = Currency.getInstance(new Locale("en", "CA")); in test_getInstanceLjava_util_Locale()
64 Currency c2 = Currency.getInstance(new Locale("fr", "CA")); in test_getInstanceLjava_util_Locale()
68 Currency c3 = Currency.getInstance(new Locale("", "CA")); in test_getInstanceLjava_util_Locale()
74 c1 = Currency.getInstance(new Locale("ja", "JP")); in test_getInstanceLjava_util_Locale()
78 c2 = Currency.getInstance(new Locale("", "JP")); in test_getInstanceLjava_util_Locale()
82 c3 = Currency.getInstance(new Locale("bogus", "JP")); in test_getInstanceLjava_util_Locale()
[all …]
DLocaleTest.java23 import java.util.Locale;
28 Locale testLocale;
30 Locale l;
32 Locale defaultLocale;
39 Locale x = new Locale("xx"); in test_ConstructorLjava_lang_String()
43 new Locale(null); in test_ConstructorLjava_lang_String()
55 Locale x = new Locale("xx", "CV"); in test_ConstructorLjava_lang_StringLjava_lang_String()
60 new Locale("xx", null); in test_ConstructorLjava_lang_StringLjava_lang_String()
67 new Locale(null, "CV"); in test_ConstructorLjava_lang_StringLjava_lang_String()
81 Locale x = new Locale("xx", "CV", "ZZ"); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
[all …]
DResourceBundleTest.java26 import java.util.Locale;
38 assertEquals("[en_US, en, ]", c.getCandidateLocales("base", Locale.US).toString()); in test_getCandidateLocales()
39 … assertEquals("[de_CH, de, ]", c.getCandidateLocales("base", new Locale("de", "CH")).toString()); in test_getCandidateLocales()
47 bundle = ResourceBundle.getBundle(name, Locale.getDefault()); in test_getBaseName()
60 Locale defLocale = Locale.getDefault(); in test_getBundleLjava_lang_StringLjava_util_Locale()
62 Locale.setDefault(new Locale("en", "US")); in test_getBundleLjava_lang_StringLjava_util_Locale()
63 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
66 bundle = ResourceBundle.getBundle(name, new Locale("fr", "FR", "v1")); in test_getBundleLjava_lang_StringLjava_util_Locale()
69 bundle = ResourceBundle.getBundle(name, new Locale("fr", "US", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
72 bundle = ResourceBundle.getBundle(name, new Locale("de", "FR", "VAR")); in test_getBundleLjava_lang_StringLjava_util_Locale()
[all …]
DControlTest.java35 import java.util.Locale;
212 Locale defaultLocale = Locale.getDefault(); in test_getNoFallbackControl_LList()
213 Locale.setDefault(new Locale("TestLanguage", "TestCountry", "Var")); in test_getNoFallbackControl_LList()
214 assertNull(control.getFallbackLocale("message", Locale.US)); in test_getNoFallbackControl_LList()
222 control.getFallbackLocale(null, Locale.US); in test_getNoFallbackControl_LList()
227 Locale.setDefault(defaultLocale); in test_getNoFallbackControl_LList()
291 List<Locale> result = control.getCandidateLocales("baseName", in test_getCandidateLocales_LStringLLocale()
292 new Locale("one", "two", "three")); in test_getCandidateLocales_LStringLLocale()
294 Locale locale = result.get(0); in test_getCandidateLocales_LStringLLocale()
298 assertEquals(new Locale("one", "TWO"), result.get(1)); in test_getCandidateLocales_LStringLLocale()
[all …]
DFormatterTest.java51 import java.util.Locale;
156 private Locale defaultLocale;
165 assertEquals(f.locale(), Locale.getDefault()); in test_Constructor()
176 assertEquals(f1.locale(), Locale.getDefault()); in test_ConstructorLjava_lang_Appendable()
195 Formatter f1 = new Formatter(Locale.FRANCE); in test_ConstructorLjava_util_Locale()
197 assertEquals(f1.locale(), Locale.FRANCE); in test_ConstructorLjava_util_Locale()
200 Formatter f2 = new Formatter((Locale) null); in test_ConstructorLjava_util_Locale()
211 Formatter f1 = new Formatter(ma, Locale.CANADA); in test_ConstructorLjava_lang_AppendableLjava_util_Locale()
213 assertEquals(f1.locale(), Locale.CANADA); in test_ConstructorLjava_lang_AppendableLjava_util_Locale()
219 Formatter f3 = new Formatter(null, Locale.GERMAN); in test_ConstructorLjava_lang_AppendableLjava_util_Locale()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java19 import static java.util.Locale.FilteringMode.AUTOSELECT_FILTERING;
20 import static java.util.Locale.FilteringMode.EXTENDED_FILTERING;
21 import static java.util.Locale.FilteringMode.IGNORE_EXTENDED_RANGES;
22 import static java.util.Locale.FilteringMode.MAP_EXTENDED_RANGES;
23 import static java.util.Locale.FilteringMode.REJECT_EXTENDED_RANGES;
40 import java.util.Locale;
41 import java.util.Locale.LanguageRange;
49 Locale locale = Locale.forLanguageTag("en-US"); in test_extension_absent()
55 Locale.Builder b = new Locale.Builder(); in test_extension_builder()
56 Locale localeWithoutExtension = b.build(); in test_extension_builder()
[all …]
DCurrencyTest.java20 import java.util.Locale;
35 assertEquals("AED", Currency.getInstance("AED").getSymbol(Locale.CANADA)); in test_getSymbol_fallback()
40 assertEquals("DEM", currency.getSymbol(Locale.FRANCE)); in test_getSymbol_locale()
41 assertEquals("DM", currency.getSymbol(Locale.GERMANY)); in test_getSymbol_locale()
42 assertEquals("DEM", currency.getSymbol(Locale.US)); in test_getSymbol_locale()
52 Locales locales = Locales.getAndSetDefaultForTest(Locale.US, Locale.GERMANY, Locale.FRANCE); in test_getSymbol_noLocaleArgument()
84 assertEquals("Swiss Franc", currency.getDisplayName(Locale.US)); in test_getDisplayName_locale_chf()
85 assertEquals("Schweizer Franken", currency.getDisplayName(new Locale("de", "CH"))); in test_getDisplayName_locale_chf()
86 assertEquals("franc suisse", currency.getDisplayName(new Locale("fr", "CH"))); in test_getDisplayName_locale_chf()
87 assertEquals("franco svizzero", currency.getDisplayName(new Locale("it", "CH"))); in test_getDisplayName_locale_chf()
[all …]
DLocales.java20 import java.util.Locale;
23 import static java.util.Locale.Category.DISPLAY;
24 import static java.util.Locale.Category.FORMAT;
31 private final Locale uncategorizedLocale;
32 private final Locale displayLocale;
33 private final Locale formatLocale;
35 private Locales(Locale uncategorizedLocale, Locale displayLocale, Locale formatLocale) { in Locales()
54 public static Locales getAndSetDefaultForTest(Locale uncategorizedLocale, Locale displayLocale, in getAndSetDefaultForTest()
55 Locale formatLocale) { in getAndSetDefaultForTest()
92 Locale.setDefault(uncategorizedLocale); in setAsDefault()
[all …]
DOldAndroidLocaleTest.java23 import java.util.Locale;
36 Locale locale = new Locale("en"); in testLocale()
39 locale = new Locale("en", "US"); in testLocale()
42 locale = new Locale("en", "", "POSIX"); in testLocale()
45 locale = new Locale("en", "US", "POSIX"); in testLocale()
50 Locale eng = new Locale("en", "US"); in testResourceBundles()
53 Locale deu = new Locale("de", "DE"); in testResourceBundles()
80 Locale[] locales = new Locale[] { in testICULocales()
81 new Locale("en", "US"), in testICULocales()
82 new Locale("es", "US"), in testICULocales()
[all …]
DOldFormatterTest.java25 import java.util.Locale;
61 fLoc = new Formatter(Locale.GERMAN); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
62 fNoL = new Formatter(Locale.GERMAN); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
63 fLoc.format(Locale.US, "%f", val); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
67 fLoc = new Formatter(Locale.FRANCE); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
68 fNoL = new Formatter(Locale.FRANCE); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
69 fLoc.format(Locale.US, "%f", val); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
73 fLoc = new Formatter(Locale.US); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
74 fNoL = new Formatter(Locale.US); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
75 fLoc.format(Locale.US, "%f", val); in test_formatLjava_util_LocaleLjava_lang_StringLjava_lang_Object()
[all …]
DOldTimeZoneTest.java21 import java.util.Locale;
84 Locale.setDefault(Locale.US); in test_getDisplayName()
93 assertEquals("Pacific Standard Time", tz.getDisplayName(Locale.US)); in test_getDisplayNameLjava_util_Locale()
94 assertEquals("heure normale du Pacifique nord-américain", tz.getDisplayName(Locale.FRANCE)); in test_getDisplayNameLjava_util_Locale()
98 Locale.setDefault(Locale.US); in test_getDisplayNameZI()
107 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); in test_getDisplayNameZILjava_util_Locale()
108 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.UK)); in test_getDisplayNameZILjava_util_Locale()
110 tz.getDisplayName(true, TimeZone.LONG, Locale.FRANCE)); in test_getDisplayNameZILjava_util_Locale()
112 tz.getDisplayName(false, TimeZone.LONG, Locale.FRANCE)); in test_getDisplayNameZILjava_util_Locale()
114 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, Locale.US)); in test_getDisplayNameZILjava_util_Locale()
[all …]
DFormatterTest.java26 import java.util.Locale;
31 Locale arabic = new Locale("ar"); in test_numberLocalization()
63 assertEquals("1E+02", String.format(Locale.ENGLISH, "%.0E", 100.0)); in test_internationalizedExponent()
64 assertEquals("1e+02", String.format(Locale.ENGLISH, "%.0e", 100.0)); in test_internationalizedExponent()
66 … assertEquals("\u0661\u0627\u0633+\u0660\u0662", String.format(new Locale("ar"), "%.0E", 100.0)); in test_internationalizedExponent()
67 … assertEquals("\u0661\u0627\u0633+\u0660\u0662", String.format(new Locale("ar"), "%.0e", 100.0)); in test_internationalizedExponent()
69 assertEquals("1\u00d710^+02", String.format(new Locale("et"), "%.0E", 100.0)); in test_internationalizedExponent()
70 assertEquals("1\u00d710^+02", String.format(new Locale("et"), "%.0e", 100.0)); in test_internationalizedExponent()
76 assertEquals("JAKOB ARJOUNI", String.format(Locale.US, "%S", "jakob arjouni")); in test_uppercaseConversions()
78 … assertEquals("JAKOB ARJOUN\u0130", String.format(new Locale("tr", "TR"), "%S", "jakob arjouni")); in test_uppercaseConversions()
[all …]
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java51 public final class Locale implements java.lang.Cloneable, java.io.Serializable { class
53 public Locale(java.lang.String language, java.lang.String country, java.lang.String variant) { thro… in Locale() method in Locale
55 public Locale(java.lang.String language, java.lang.String country) { throw new RuntimeException("St… in Locale() method in Locale
57 public Locale(java.lang.String language) { throw new RuntimeException("Stub!"); } in Locale() method in Locale
59 public static java.util.Locale getDefault() { throw new RuntimeException("Stub!"); } in getDefault()
61 public static java.util.Locale getDefault(java.util.Locale.Category category) { throw new RuntimeEx… in getDefault()
63 public static java.util.Locale initDefault() { throw new RuntimeException("Stub!"); } in initDefault()
65 public static synchronized void setDefault(java.util.Locale newLocale) { throw new RuntimeException… in setDefault()
67 public static synchronized void setDefault(java.util.Locale.Category category, java.util.Locale new… in setDefault()
69 public static java.util.Locale[] getAvailableLocales() { throw new RuntimeException("Stub!"); } in getAvailableLocales()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java47 public final class Locale implements java.lang.Cloneable, java.io.Serializable { class
49 private Locale( in Locale() method in Locale
54 public Locale(java.lang.String language, java.lang.String country, java.lang.String variant) { in Locale() method in Locale
58 public Locale(java.lang.String language, java.lang.String country) { in Locale() method in Locale
62 public Locale(java.lang.String language) { in Locale() method in Locale
67 private static java.util.Locale createConstant( in createConstant()
72 static java.util.Locale getInstance( in getInstance()
77 static java.util.Locale getInstance( in getInstance()
87 static java.util.Locale getInstance( in getInstance()
92 public static java.util.Locale getDefault() { in getDefault()
[all …]
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java31 import java.util.Locale;
50 private Locale defaultLocale;
55 defaultLocale = Locale.getDefault(); in setUp()
57 Locale.setDefault(Locale.US); in setUp()
62 Locale.setDefault(defaultLocale); in tearDown()
72 DateFormat.SHORT, DateFormat.SHORT, Locale.US); in testDefaultConstructor_localeUS()
101 Locale en = Locale.ENGLISH; in testStandAloneNames()
102 Locale pl = new Locale("pl"); in testStandAloneNames()
103 Locale ru = new Locale("ru"); in testStandAloneNames()
131 assertCannotParse(Locale.ENGLISH, "MMMMM", "J"); in testFiveCount_parsing()
[all …]
DDecimalFormatTest.java29 import java.util.Locale;
43 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_setMaximumFractionDigitsAffectsRoundingMode()
53 NumberFormat numberFormat = NumberFormat.getNumberInstance(Locale.US); in test_setMaximumIntegerDigits()
84 Locale.US, "9,990,000,000,000,000,000,000,000,000,000,000"); in testBigDecimalBug1897917()
86 Locale en_IN = new Locale("en", "IN"); in testBigDecimalBug1897917()
94 Locale.US, "1,234,567,890,123,450"); in testBigDecimalTestBigIntWithMultiplier()
96 Locale.US, "123,456,789,012,345,678,900"); in testBigDecimalTestBigIntWithMultiplier()
98 Locale.US, "987,654,321,098,765,432,109,876,543,210"); in testBigDecimalTestBigIntWithMultiplier()
101 Locale.US, "-1,234,567,890,123,450"); in testBigDecimalTestBigIntWithMultiplier()
103 Locale.US, "-123,456,789,012,345,678,900"); in testBigDecimalTestBigIntWithMultiplier()
[all …]
DDateFormatSymbolsTest.java30 import java.util.Locale;
41 private void assertLocaleIsEquivalentToRoot(Locale locale) { in assertLocaleIsEquivalentToRoot()
43 assertEquals(DateFormatSymbols.getInstance(Locale.ROOT), dfs); in assertLocaleIsEquivalentToRoot()
50 assertLocaleIsEquivalentToRoot(new Locale("xx", "XX")); in test_getInstance_unknown_locale()
54 assertLocaleIsEquivalentToRoot(new Locale("not exist language", "not exist country")); in test_getInstance_invalid_locale()
60 Locale.setDefault(Locale.US); in testSerialization()
63 Locale pl = new Locale("pl"); in testSerialization()
88 private String formatDate(Locale l, String fmt, DateFormatSymbols dfs) { in formatDate()
100 … String[][] originalZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); in test_getZoneStrings_cloning()
103 … String[][] currentZoneStrings = DateFormatSymbols.getInstance(Locale.US).getZoneStrings(); in test_getZoneStrings_cloning()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DBreakIteratorBenchmark.java21 import java.util.Locale;
26 …LIPSUM(Locale.US, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi mollis consequat…
27 …LONGPARA(Locale.US, "During dinner, Mr. Bennet scarcely spoke at all; but when the servants were w…
28 …GERMAN(Locale.GERMANY, "Aber dieser Freiheit setzte endlich der Winter ein Ziel. Draußen auf den F…
29 …THAI(Locale.forLanguageTag("th-TH"), "เป็นสำเนียงทางการของภาษาไทย เดิมทีเป็นการผสมผสานกันระหว่างสำ…
30 THAI2(Locale.forLanguageTag("th-TH"), "this is the word browser in Thai: เบราว์เซอร์"),
31 TABS(Locale.US, "one\t\t\t\t\t\t\t\t\t\t\t\t\t\ttwo\n"),
32 ACCENT(Locale.US, "e\u0301\u00e9\nwhich is:\n\"e\\u0301\\u00e9\""),
33 EMOJI(Locale.US, ">>\ud83d\ude01<<\nwhich is:\n\">>\\ud83d\\ude01<<\""),
34 SPACES(Locale.US, " leading spaces and trailing ones too "),
[all …]
DDateFormatBenchmark.java22 import java.util.Locale;
26 private Locale locale1;
27 private Locale locale2;
28 private Locale locale3;
29 private Locale locale4;
33 locale1 = Locale.TAIWAN; in setUp()
34 locale2 = Locale.GERMANY; in setUp()
35 locale3 = Locale.FRANCE; in setUp()
36 locale4 = Locale.ITALY; in setUp()
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java22 import java.util.Locale;
48 assertEquals("d MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("ca", "ES"))); in test_getBestDateTimePattern()
49 assertEquals("d 'de' MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("es", "ES"))); in test_getBestDateTimePattern()
50 assertEquals("d. MMMM", ICU.getBestDateTimePattern("MMMMd", new Locale("de", "CH"))); in test_getBestDateTimePattern()
51 assertEquals("MMMM d", ICU.getBestDateTimePattern("MMMMd", new Locale("en", "US"))); in test_getBestDateTimePattern()
52 assertEquals("d LLLL", ICU.getBestDateTimePattern("MMMMd", new Locale("fa", "IR"))); in test_getBestDateTimePattern()
53 assertEquals("M月d日", ICU.getBestDateTimePattern("MMMMd", new Locale("ja", "JP"))); in test_getBestDateTimePattern()
59 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en")); in test_localeFromString()
60 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en_")); in test_localeFromString()
61 assertEquals(Locale.ENGLISH, ICU.localeFromIcuLocaleId("en__")); in test_localeFromString()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java51 public final class Locale implements java.lang.Cloneable, java.io.Serializable { class
53 public Locale(@libcore.util.NonNull java.lang.String language, @libcore.util.NonNull java.lang.Stri… in Locale() method in Locale
55 public Locale(@libcore.util.NonNull java.lang.String language, @libcore.util.NonNull java.lang.Stri… in Locale() method in Locale
57 public Locale(@libcore.util.NonNull java.lang.String language) { throw new RuntimeException("Stub!"… in Locale() method in Locale
59 @libcore.util.NonNull public static java.util.Locale getDefault() { throw new RuntimeException("Stu… in getDefault()
61 @libcore.util.NonNull public static java.util.Locale getDefault(@libcore.util.NonNull java.util.Loc… in getDefault()
63 public static synchronized void setDefault(@libcore.util.NonNull java.util.Locale newLocale) { thro… in setDefault()
65 … setDefault(@libcore.util.NonNull java.util.Locale.Category category, @libcore.util.NonNull java.u… in setDefault()
67 public static java.util.@libcore.util.NonNull Locale @libcore.util.NonNull [] getAvailableLocales()… in getAvailableLocales()
83 @libcore.util.NonNull public java.util.Locale stripExtensions() { throw new RuntimeException("Stub!… in stripExtensions()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNonIsoFormatter.java51 import java.util.Locale;
73 private static final Locale ARABIC = new Locale("ar");
74 private static final Locale thTH = new Locale("th", "TH");
75 private static final Locale thTHTH = Locale.forLanguageTag("th-TH-u-nu-thai");
76 private static final Locale jaJPJP = Locale.forLanguageTag("ja-JP-u-ca-japanese");
86 { JAPANESE, Locale.JAPANESE, Locale.JAPANESE, JAPANESE.date(IsoDate), in formatData()
93 { HIJRAH, ARABIC, Locale.ENGLISH, HIJRAH.date(IsoDate), in formatData()
96 { MINGUO, Locale.TAIWAN, Locale.TAIWAN, MINGUO.date(IsoDate), in formatData()
125 { ISO8601, Locale.ENGLISH, "ISO-8601 Calendar" }, in chronoNamesData()
126 { BUDDHIST, Locale.ENGLISH, "Buddhist Calendar" }, in chronoNamesData()
[all …]
/libcore/benchmarks/src/benchmarks/
DLocaleDataBenchmark.java21 import java.util.Locale;
25 private static final Locale[] TEST_LOCALES = new Locale[] {
26 Locale.forLanguageTag("en-US"),
27 Locale.forLanguageTag("jp-JP"),
28 Locale.forLanguageTag("es-419"),
29 Locale.forLanguageTag("ar-EG"),
30 Locale.forLanguageTag("zh-CN"),
35 for (Locale locale : TEST_LOCALES) { in timeInitLocaleData()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java73 import java.util.Locale;
120 {LocalDate.of(2012, 6, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.UK}, in data_date()
121 {LocalDate.of(2012, 6, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.US}, in data_date()
122 {LocalDate.of(2012, 6, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.FRANCE}, in data_date()
123 {LocalDate.of(2012, 6, 30), FormatStyle.SHORT, DateFormat.SHORT, Locale.JAPAN}, in data_date()
125 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_date()
126 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_date()
127 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_date()
128 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_date()
130 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.UK}, in data_date()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestChronoField.java67 import java.util.Locale;
97 Locale[] data_localeList() { in data_localeList()
98 return new Locale[] { in data_localeList()
99 Locale.US, in data_localeList()
100 Locale.GERMAN, in data_localeList()
101 Locale.JAPAN, in data_localeList()
102 Locale.ROOT, in data_localeList()
124 Locale locale = Locale.US; in test_IsoFields_week_based_year()
132 String name = IsoFields.WEEK_OF_WEEK_BASED_YEAR.getDisplayName((Locale)null); in test_nullIsoFields_week_based_year()
137 Locale locale = Locale.US; in test_WeekFields_week_based_year()
[all …]

12345678910>>...12