Searched refs:LocaleData (Results 1 – 14 of 14) sorted by relevance
/libcore/luni/src/test/java/libcore/icu/ |
D | LocaleDataTest.java | 25 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/ |
D | LocaleData.java | 32 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()
|
D | NativeDecimalFormat.java | 171 public NativeDecimalFormat(String pattern, LocaleData data) { in NativeDecimalFormat() 275 public void setDecimalFormatSymbols(final LocaleData localeData) { in setDecimalFormatSymbols()
|
D | ICU.java | 449 static native boolean initLocaleDataNative(String languageTag, LocaleData result); in initLocaleDataNative()
|
/libcore/luni/src/main/java/java/util/ |
D | Currency.java | 22 import libcore.icu.LocaleData; 156 LocaleData localeData = LocaleData.get(locale); in getSymbol()
|
D | Calendar.java | 27 import libcore.icu.LocaleData; 730 locale = LocaleData.mapInvalidAndNullLocales(locale); in Calendar() 731 LocaleData localeData = LocaleData.get(locale); in Calendar()
|
D | Date.java | 27 import libcore.icu.LocaleData; 703 LocaleData localeData = LocaleData.get(Locale.US); in toString()
|
D | Formatter.java | 33 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/ |
D | DateFormatSymbols.java | 28 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()
|
D | DateFormat.java | 27 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()
|
D | NumberFormat.java | 30 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()
|
D | DecimalFormatSymbols.java | 28 import libcore.icu.LocaleData; 88 locale = LocaleData.mapInvalidAndNullLocales(locale); in DecimalFormatSymbols() 89 LocaleData localeData = LocaleData.get(locale); in DecimalFormatSymbols()
|
D | SimpleDateFormat.java | 32 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()
|
D | DecimalFormat.java | 29 import libcore.icu.LocaleData; 522 initNative(LocaleData.get(locale).numberPattern); in DecimalFormat()
|