Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/libcore/icu/
DICULocaleDataTest.java18 import android.icu.util.LocaleData;
34 LocaleData usLocaleData = LocaleData.getInstance(ULocale.US); in testGetDelimiter()
35 assertEquals("“", usLocaleData.getDelimiter(LocaleData.QUOTATION_START)); in testGetDelimiter()
36 assertEquals("”", usLocaleData.getDelimiter(LocaleData.QUOTATION_END)); in testGetDelimiter()
37 assertEquals("‘", usLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_START)); in testGetDelimiter()
38 assertEquals("’", usLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_END)); in testGetDelimiter()
39 LocaleData italianLocaleData = LocaleData.getInstance(ULocale.ITALIAN); in testGetDelimiter()
40 assertEquals("«", italianLocaleData.getDelimiter(LocaleData.QUOTATION_START)); in testGetDelimiter()
41 assertEquals("»", italianLocaleData.getDelimiter(LocaleData.QUOTATION_END)); in testGetDelimiter()
42 assertEquals("“", italianLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_START)); in testGetDelimiter()
[all …]
DLocaleDataTest.java35 import libcore.icu.LocaleData;
57 LocaleData d = LocaleData.get(l); in testAll()
64 LocaleData l = LocaleData.get(Locale.US); in test_en_US()
89 LocaleData l = LocaleData.get(new Locale("cs", "CZ")); in test_cs_CZ()
102 LocaleData l = LocaleData.get(new Locale("ru", "RU")); in test_ru_RU()
117 LocaleData es = LocaleData.get(new Locale("es")); in testDecimalFormatSymbols_es()
121 LocaleData es_419 = LocaleData.get(new Locale("es", "419")); in testDecimalFormatSymbols_es()
125 LocaleData es_US = LocaleData.get(new Locale("es", "US")); in testDecimalFormatSymbols_es()
129 LocaleData es_MX = LocaleData.get(new Locale("es", "MX")); in testDecimalFormatSymbols_es()
133 LocaleData es_AR = LocaleData.get(new Locale("es", "AR")); in testDecimalFormatSymbols_es()
[all …]
DAlphabeticIndexTest.java21 import android.icu.util.LocaleData;
46 UnicodeSet exemplarSet = LocaleData.getExemplarSet( in testBucketCount_withNoIndexCharacters()
47 ULocale.forLocale(locale), 0, LocaleData.ES_INDEX); in testBucketCount_withNoIndexCharacters()
67 LocaleData localeData = LocaleData.getInstance(uLocale); in verifyIndex()
70 UnicodeSet exemplarSet = localeData.getExemplarSet(0, LocaleData.ES_STANDARD); in verifyIndex()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java49 public final class LocaleData { class
90 …private static final HashMap<String, LocaleData> localeDataCache = new HashMap<String, LocaleData>…
175 private LocaleData(Locale locale) { in LocaleData() method in LocaleData
219 public static LocaleData get(Locale locale) { in get()
228 LocaleData localeData = localeDataCache.get(languageTag); in get()
233 LocaleData newLocaleData = initLocaleData(locale); in get()
235 LocaleData localeData = localeDataCache.get(languageTag); in get()
293 public static LocaleData initLocaleData(Locale locale) { in initLocaleData()
294 LocaleData localeData = new LocaleData(locale); in initLocaleData()
326 private static void initializePatternSeparator(LocaleData localeData, Locale locale) { in initializePatternSeparator()
/libcore/benchmarks/src/benchmarks/
DLocaleDataBenchmark.java22 import libcore.icu.LocaleData;
36 LocaleData.initLocaleData(locale); in timeInitLocaleData()
/libcore/ojluni/src/main/java/java/text/
DDateFormatSymbols.java54 import libcore.icu.LocaleData;
431 Locale cacheKey = LocaleData.getCompatibleLocaleForBug159514442(locale); in getCachedInstance()
824 Locale cacheKey = LocaleData.getCompatibleLocaleForBug159514442(locale); in initializeData()
834 locale = LocaleData.mapInvalidAndNullLocales(locale); in initializeData()
835 LocaleData localeData = LocaleData.get(locale); in initializeData()
854 private void initializeSupplementaryData(LocaleData localeData) { in initializeSupplementaryData()
989 LocaleData localeData = LocaleData.get(locale); in readObject()
DNumberFormat.java56 import libcore.icu.LocaleData;
840 LocaleData data = LocaleData.get(desiredLocale); in getInstance()
DDecimalFormatSymbols.java50 import libcore.icu.LocaleData;
663 locale = LocaleData.mapInvalidAndNullLocales(locale); in initialize()
664 LocaleData localeData = LocaleData.get(locale); in initialize()
DDecimalFormat.java55 import libcore.icu.LocaleData;
417 String pattern = LocaleData.get(def).numberPattern; in DecimalFormat()
DSimpleDateFormat.java66 import libcore.icu.LocaleData;
630 LocaleData localeData = LocaleData.get(locale); in getDateTimeFormat()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java54 import libcore.icu.LocaleData;
3379 desiredLocale = LocaleData.getCompatibleLocaleForBug159514442(desiredLocale); in setWeekCountData()
3387 LocaleData localeData = LocaleData.get(desiredLocale); in setWeekCountData()
DFormatter.java59 import libcore.icu.LocaleData;
3379 LocaleData localeData = LocaleData.get(separatorLocale);
/libcore/
Dnon_openjdk_java_files.bp235 "luni/src/main/java/libcore/icu/LocaleData.java",