Home
last modified time | relevance | path

Searched refs:LocaleData (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/icu/
DLocaleDataTest.java25 LocaleData d = LocaleData.get(l); in testAll()
32 LocaleData l = LocaleData.get(Locale.US); in test_en_US()
60 LocaleData l = LocaleData.get(new Locale("de", "DE")); in test_de_DE()
68 LocaleData l = LocaleData.get(new Locale("cs", "CZ")); in test_cs_CZ()
80 LocaleData l = LocaleData.get(new Locale("ko", "KR")); in test_ko_KR()
89 LocaleData l = LocaleData.get(new Locale("ru", "RU")); in test_ru_RU()
103 LocaleData es = LocaleData.get(new Locale("es")); in testDecimalFormatSymbols_es()
107 LocaleData es_419 = LocaleData.get(new Locale("es", "419")); in testDecimalFormatSymbols_es()
111 LocaleData es_US = LocaleData.get(new Locale("es", "US")); in testDecimalFormatSymbols_es()
115 LocaleData es_MX = LocaleData.get(new Locale("es", "MX")); in testDecimalFormatSymbols_es()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java32 public final class LocaleData { class
34 …private static final HashMap<String, LocaleData> localeDataCache = new HashMap<String, LocaleData>…
122 private LocaleData() { in LocaleData() method in LocaleData
140 public static LocaleData get(Locale locale) { in get()
147 LocaleData localeData = localeDataCache.get(languageTag); in get()
152 LocaleData newLocaleData = initLocaleData(locale); in get()
154 LocaleData localeData = localeDataCache.get(languageTag); in get()
205 private static LocaleData initLocaleData(Locale locale) { in initLocaleData()
206 LocaleData localeData = new LocaleData(); in initLocaleData()
DNativeDecimalFormat.java171 public NativeDecimalFormat(String pattern, LocaleData data) { in NativeDecimalFormat()
275 public void setDecimalFormatSymbols(final LocaleData localeData) { in setDecimalFormatSymbols()
DICU.java449 static native boolean initLocaleDataNative(String languageTag, LocaleData result); in initLocaleDataNative()
/libcore/luni/src/main/java/java/util/
DCurrency.java22 import libcore.icu.LocaleData;
156 LocaleData localeData = LocaleData.get(locale); in getSymbol()
DCalendar.java27 import libcore.icu.LocaleData;
730 locale = LocaleData.mapInvalidAndNullLocales(locale); in Calendar()
731 LocaleData localeData = LocaleData.get(locale); in Calendar()
DDate.java27 import libcore.icu.LocaleData;
703 LocaleData localeData = LocaleData.get(Locale.US); in toString()
DFormatter.java33 import libcore.icu.LocaleData;
555 private LocaleData localeData;
559 public LocaleData currentLocaleData;
565 public NativeDecimalFormat update(LocaleData localeData, String pattern) { in update()
1041 this.localeData = LocaleData.get(locale); in format()
/libcore/luni/src/main/java/java/text/
DDateFormatSymbols.java28 import libcore.icu.LocaleData;
62 transient LocaleData localeData;
103 this.locale = LocaleData.mapInvalidAndNullLocales(locale); in DateFormatSymbols()
106 this.localeData = LocaleData.get(locale); in DateFormatSymbols()
159 this.localeData = LocaleData.get(locale); in readObject()
DDateFormat.java27 import libcore.icu.LocaleData;
401 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale); in getDateInstance()
456 LocaleData localeData = LocaleData.get(locale); in getDateTimeInstance()
535 return new SimpleDateFormat(LocaleData.get(locale).getTimeFormat(style), locale); in getTimeInstance()
DNumberFormat.java30 import libcore.icu.LocaleData;
360 return getInstance(LocaleData.get(locale).currencyPattern, locale); in getCurrencyInstance()
387 NumberFormat result = getInstance(LocaleData.get(locale).integerPattern, locale); in getIntegerInstance()
483 return getInstance(LocaleData.get(locale).numberPattern, locale); in getNumberInstance()
514 return getInstance(LocaleData.get(locale).percentPattern, locale); in getPercentInstance()
DDecimalFormatSymbols.java28 import libcore.icu.LocaleData;
88 locale = LocaleData.mapInvalidAndNullLocales(locale); in DecimalFormatSymbols()
89 LocaleData localeData = LocaleData.get(locale); in DecimalFormatSymbols()
DSimpleDateFormat.java32 import libcore.icu.LocaleData;
411 LocaleData localeData = LocaleData.get(Locale.getDefault()); in defaultPattern()
698 LocaleData ld = formatData.localeData; in appendDayOfWeek()
718 LocaleData ld = formatData.localeData; in appendMonth()
981 LocaleData ld = formatData.localeData; in parseDayOfWeek()
997 LocaleData ld = formatData.localeData; in parseMonth()
DDecimalFormat.java29 import libcore.icu.LocaleData;
522 initNative(LocaleData.get(locale).numberPattern); in DecimalFormat()