Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDataTest.java26 import android.icu.util.LocaleData;
53 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); in TestPaperSize()
91 LocaleData.MeasurementSystem ms = LocaleData.getMeasurementSystem(locale); in TestMeasurementSystem()
99 if(ms == LocaleData.MeasurementSystem.US){ in TestMeasurementSystem()
105 if(ms == LocaleData.MeasurementSystem.UK){ in TestMeasurementSystem()
111 if(ms == LocaleData.MeasurementSystem.SI){ in TestMeasurementSystem()
124 public LocaleData.MeasurementSystem measureSys; in TestMeasurementSysForSpecificLocales()
125 public TestMeasurementSysItem(String locID, LocaleData.MeasurementSystem ms) { in TestMeasurementSysForSpecificLocales()
131 new TestMeasurementSysItem("fr_FR", LocaleData.MeasurementSystem.SI), in TestMeasurementSysForSpecificLocales()
132 new TestMeasurementSysItem("en", LocaleData.MeasurementSystem.US), in TestMeasurementSysForSpecificLocales()
[all …]
DULocaleTest.java49 import android.icu.util.LocaleData;
4032 cldrVersion = LocaleData.getCLDRVersion(); in TestCLDRVersion()
/external/icu/android_icu4j/testing/src/android/icu/extratest/util/
DLocaleDataTest.java19 import android.icu.util.LocaleData;
39 LocaleData usLocaleData = LocaleData.getInstance(ULocale.US); in testGetDelimiter()
40 assertEquals("“", usLocaleData.getDelimiter(LocaleData.QUOTATION_START)); in testGetDelimiter()
41 assertEquals("”", usLocaleData.getDelimiter(LocaleData.QUOTATION_END)); in testGetDelimiter()
42 assertEquals("‘", usLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_START)); in testGetDelimiter()
43 assertEquals("’", usLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_END)); in testGetDelimiter()
44 LocaleData italianLocaleData = LocaleData.getInstance(ULocale.ITALIAN); in testGetDelimiter()
45 assertEquals("«", italianLocaleData.getDelimiter(LocaleData.QUOTATION_START)); in testGetDelimiter()
46 assertEquals("»", italianLocaleData.getDelimiter(LocaleData.QUOTATION_END)); in testGetDelimiter()
47 assertEquals("“", italianLocaleData.getDelimiter(LocaleData.ALT_QUOTATION_START)); in testGetDelimiter()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java25 import com.ibm.icu.util.LocaleData;
50 LocaleData.PaperSize paperSize = LocaleData.getPaperSize(locale); in TestPaperSize()
88 LocaleData.MeasurementSystem ms = LocaleData.getMeasurementSystem(locale); in TestMeasurementSystem()
96 if(ms == LocaleData.MeasurementSystem.US){ in TestMeasurementSystem()
102 if(ms == LocaleData.MeasurementSystem.UK){ in TestMeasurementSystem()
108 if(ms == LocaleData.MeasurementSystem.SI){ in TestMeasurementSystem()
121 public LocaleData.MeasurementSystem measureSys; in TestMeasurementSysForSpecificLocales()
122 public TestMeasurementSysItem(String locID, LocaleData.MeasurementSystem ms) { in TestMeasurementSysForSpecificLocales()
128 new TestMeasurementSysItem("fr_FR", LocaleData.MeasurementSystem.SI), in TestMeasurementSysForSpecificLocales()
129 new TestMeasurementSysItem("en", LocaleData.MeasurementSystem.US), in TestMeasurementSysForSpecificLocales()
[all …]
DULocaleTest.java48 import com.ibm.icu.util.LocaleData;
4029 cldrVersion = LocaleData.getCLDRVersion(); in TestCLDRVersion()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocaleDataTest.java12 import libcore.icu.LocaleData;
23 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US()
73 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_yesterday()
81 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_currencySymbol()
89 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_internationalCurrencySymbol()
97 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_perMill()
105 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_perMillPostP()
112 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_percentPost22()
119 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_since_jelly_bean_mr1()
133 LocaleData localeData = LocaleData.get(Locale.US); in shouldSupportLocaleEn_US_since_m()
[all …]
/external/icu/android_icu4j/testing/src/android/icu/extratest/text/
DAlphabeticIndexTest.java25 import android.icu.util.LocaleData;
52 UnicodeSet exemplarSet = LocaleData.getExemplarSet( in testBucketCount_withNoIndexCharacters()
53 ULocale.forLocale(locale), 0, LocaleData.ES_INDEX); in testBucketCount_withNoIndexCharacters()
73 LocaleData localeData = LocaleData.getInstance(uLocale); in verifyIndex()
76 UnicodeSet exemplarSet = localeData.getExemplarSet(0, LocaleData.ES_STANDARD); in verifyIndex()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleData.java23 public final class LocaleData { class
121 private LocaleData(){} in LocaleData() method in LocaleData
142 return LocaleData.getInstance(locale).getExemplarSet(options, ES_STANDARD); in getExemplarSet()
164 return LocaleData.getInstance(locale).getExemplarSet(options, extype); in getExemplarSet()
223 public static final LocaleData getInstance(ULocale locale) { in getInstance()
224 LocaleData ld = new LocaleData(); in getInstance()
237 public static final LocaleData getInstance() { in getInstance()
238 return LocaleData.getInstance(ULocale.getDefault(Category.FORMAT)); in getInstance()
DVersionInfo.java579 …System.out.println("CLDR Data Version: " + LocaleData.getCLDRVersion().getVersionString(2, 4)… in main()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleData.java23 public final class LocaleData { class
122 private LocaleData(){} in LocaleData() method in LocaleData
143 return LocaleData.getInstance(locale).getExemplarSet(options, ES_STANDARD); in getExemplarSet()
165 return LocaleData.getInstance(locale).getExemplarSet(options, extype); in getExemplarSet()
225 public static final LocaleData getInstance(ULocale locale) { in getInstance()
226 LocaleData ld = new LocaleData(); in getInstance()
240 public static final LocaleData getInstance() { in getInstance()
241 return LocaleData.getInstance(ULocale.getDefault(Category.FORMAT)); in getInstance()
DVersionInfo.java624 …System.out.println("CLDR Data Version: " + LocaleData.getCLDRVersion().getVersionString(2, 4)… in main()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocaleData.java12 import libcore.icu.LocaleData;
21 @Implements(value = LocaleData.class, isInAndroidSdk = false)
26 public static LocaleData get(Locale locale) { in get()
27 LocaleData localeData = (LocaleData) Shadow.newInstanceOf(REAL_CLASS_NAME); in get()
35 private static void setEnUsLocaleData(LocaleData localeData) { in setEnUsLocaleData()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCollectExemplars.java7 import com.ibm.icu.util.LocaleData;
18 UnicodeSet mainExemplars = LocaleData.getExemplarSet(locale, UnicodeSet.CASE); in main()
24 …UnicodeSet auxExemplars = LocaleData.getExemplarSet(locale, UnicodeSet.CASE, LocaleData.ES_AUXILIA… in main()
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/
DCaseMapperNativeTest.java23 import android.icu.util.LocaleData;
55 String exampleString = String.join("", LocaleData.getExemplarSet(uLocale, 0)); in testLowerCase()
67 String exampleString = String.join("", LocaleData.getExemplarSet(uLocale, 0)); in testUpperCase()
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/cal10n_dummy/
DProduction.java27 import ch.qos.cal10n.LocaleData;
32 @LocaleData({ @Locale("en_UK"), @Locale("fr") })
DMonths.java29 import ch.qos.cal10n.LocaleData;
32 @LocaleData(@Locale("en"))
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java21 import com.ibm.icu.util.LocaleData;
525 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); in addIndexExemplars()
533 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); in addIndexExemplars()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java22 import android.icu.util.LocaleData;
506 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); in addIndexExemplars()
514 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); in addIndexExemplars()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_permutation.cpp83 const struct LocaleData { in testPermutations() struct
Dtzfmttst.cpp398 struct LocaleData { struct
409 LocaleData() : localeIndex(0), patternIndex(0), testCounts(0), locales(NULL), in LocaleData() argument
445 static LocaleData *gLocaleData = NULL; argument
475 LocaleData localeData; in TestTimeRoundTrip()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLocaleData.java13 public class LocaleData { class
DResTable_config.java52 import static org.robolectric.res.android.LocaleData.localeDataCompareRegions;
53 import static org.robolectric.res.android.LocaleData.localeDataComputeScript;
54 import static org.robolectric.res.android.LocaleData.localeDataIsCloseToUsEnglish;
679 this.localeScript = new byte[LocaleData.SCRIPT_LENGTH]; in ResTable_config()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java36 import android.icu.util.LocaleData;
298 UnicodeSet exemplars = LocaleData.getExemplarSet(new ULocale("zh"),0); in TestHan()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java35 import com.ibm.icu.util.LocaleData;
295 UnicodeSet exemplars = LocaleData.getExemplarSet(new ULocale("zh"),0); in TestHan()
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz

12