Searched refs:ofLocale (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Chronology.java | 224 static Chronology ofLocale(Locale locale) { in ofLocale() method 225 return AbstractChronology.ofLocale(locale); in ofLocale()
|
D | AbstractChronology.java | 254 static Chronology ofLocale(Locale locale) { in ofLocale() method in AbstractChronology
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronology.java | 214 assertEquals(Chronology.ofLocale(locale), chrono); in test_lookupLocale() 324 assertEquals(Chronology.ofLocale(locale), chrono, "Lookup by type"); in test_ofLocaleByType() 334 Chronology.ofLocale(locale); in test_lookupLocale()
|
D | TCKThaiBuddhistChronology.java | 129 Chronology test = Chronology.ofLocale(Locale.forLanguageTag("th-TH-u-ca-buddhist")); in test_chrono_byLocale_fullTag_thaiCalendarFromThai() 136 Chronology test = Chronology.ofLocale(Locale.forLanguageTag("en-US-u-ca-buddhist")); in test_chrono_byLocale_fullTag_thaiCalendarFromElsewhere() 143 Chronology test = Chronology.ofLocale(new Locale("th", "TH")); in test_chrono_byLocale_oldTH_noVariant() 150 Chronology test = Chronology.ofLocale(new Locale("th", "TH", "TH")); in test_chrono_byLocale_oldTH_variant() 157 Assert.assertEquals(Chronology.ofLocale(new Locale("th", "TH")).getId(), "ISO"); in test_chrono_byLocale_iso() 158 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("th-TH")).getId(), "ISO"); in test_chrono_byLocale_iso() 159 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("th-TH-TH")).getId(), "ISO"); in test_chrono_byLocale_iso()
|
D | TCKJapaneseChronology.java | 140 Chronology test = Chronology.ofLocale(Locale.forLanguageTag("ja-JP-u-ca-japanese")); in test_chrono_byLocale_fullTag_japaneseCalendarFromJapan() 147 Chronology test = Chronology.ofLocale(Locale.forLanguageTag("en-US-u-ca-japanese")); in test_chrono_byLocale_fullTag_japaneseCalendarFromElsewhere() 154 Chronology test = Chronology.ofLocale(new Locale("ja", "JP")); in test_chrono_byLocale_oldJP_noVariant() 161 Chronology test = Chronology.ofLocale(new Locale("ja", "JP", "JP")); in test_chrono_byLocale_oldJP_variant() 168 Assert.assertEquals(Chronology.ofLocale(new Locale("ja", "JP")).getId(), "ISO"); in test_chrono_byLocale_iso() 169 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("ja-JP")).getId(), "ISO"); in test_chrono_byLocale_iso() 170 Assert.assertEquals(Chronology.ofLocale(Locale.forLanguageTag("ja-JP-JP")).getId(), "ISO"); in test_chrono_byLocale_iso()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestExampleCode.java | 131 Chronology chrono = Chronology.ofLocale(locale); in test_HijrahTypeViaLocale()
|
D | TestJapaneseChronology.java | 176 assertEquals(Chronology.ofLocale(jaJPJP) == JAPANESE, true); in test_ofLocale()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 92 Chronology chrono = Chronology.ofLocale(calLocale); in test()
|