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()
31 LocaleData l = LocaleData.get(Locale.US); in test_en_US()
57 LocaleData l = LocaleData.get(new Locale("de", "DE")); in test_de_DE()
65 LocaleData l = LocaleData.get(new Locale("cs", "CZ")); in test_cs_CZ()
77 LocaleData l = LocaleData.get(new Locale("ru", "RU")); in test_ru_RU()
91 LocaleData es = LocaleData.get(new Locale("es")); in testDecimalFormatSymbols_es()
95 LocaleData es_419 = LocaleData.get(new Locale("es", "419")); in testDecimalFormatSymbols_es()
99 LocaleData es_US = LocaleData.get(new Locale("es", "US")); in testDecimalFormatSymbols_es()
103 LocaleData es_MX = LocaleData.get(new Locale("es", "MX")); in testDecimalFormatSymbols_es()
107 LocaleData es_AR = LocaleData.get(new Locale("es", "AR")); 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>…
108 private LocaleData() { in LocaleData() method in LocaleData
114 public static LocaleData get(Locale locale) { in get()
120 LocaleData localeData = localeDataCache.get(localeName); in get()
125 LocaleData newLocaleData = initLocaleData(locale); in get()
127 LocaleData localeData = localeDataCache.get(localeName); in get()
168 private static LocaleData initLocaleData(Locale locale) { in initLocaleData()
169 LocaleData localeData = new LocaleData(); in initLocaleData()
DICU.java193 static native boolean initLocaleDataImpl(String locale, LocaleData result); in initLocaleDataImpl()
DNativeDecimalFormat.java138 public NativeDecimalFormat(String pattern, LocaleData data) { in NativeDecimalFormat()
225 public void setDecimalFormatSymbols(final LocaleData localeData) { in setDecimalFormatSymbols()
/libcore/luni/src/main/java/java/util/
DCurrency.java22 import libcore.icu.LocaleData;
157 LocaleData localeData = LocaleData.get(locale); in getSymbol()
DCalendar.java27 import libcore.icu.LocaleData;
719 LocaleData localeData = LocaleData.get(locale); in Calendar()
DDate.java27 import libcore.icu.LocaleData;
706 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/
DDateFormat.java27 import libcore.icu.LocaleData;
391 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale); in getDateInstance()
443 LocaleData localeData = LocaleData.get(locale); in getDateTimeInstance()
511 return new SimpleDateFormat(LocaleData.get(locale).getTimeFormat(style), locale); in getTimeInstance()
DNumberFormat.java30 import libcore.icu.LocaleData;
352 return getInstance(LocaleData.get(locale).currencyPattern, locale); in getCurrencyInstance()
375 NumberFormat result = getInstance(LocaleData.get(locale).integerPattern, locale); in getIntegerInstance()
468 return getInstance(LocaleData.get(locale).numberPattern, locale); in getNumberInstance()
495 return getInstance(LocaleData.get(locale).percentPattern, locale); in getPercentInstance()
DDateFormatSymbols.java28 import libcore.icu.LocaleData;
62 transient LocaleData localeData;
108 this.localeData = LocaleData.get(locale); in DateFormatSymbols()
155 this.localeData = LocaleData.get(locale); in readObject()
DDecimalFormatSymbols.java28 import libcore.icu.LocaleData;
84 LocaleData localeData = LocaleData.get(locale); in DecimalFormatSymbols()
DSimpleDateFormat.java32 import libcore.icu.LocaleData;
420 LocaleData localeData = LocaleData.get(Locale.getDefault()); in defaultPattern()
707 LocaleData ld = formatData.localeData; in appendDayOfWeek()
727 LocaleData ld = formatData.localeData; in appendMonth()
964 LocaleData ld = formatData.localeData; in parseDayOfWeek()
980 LocaleData ld = formatData.localeData; in parseMonth()
DDecimalFormat.java29 import libcore.icu.LocaleData;
516 initNative(LocaleData.get(locale).numberPattern); in DecimalFormat()