/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DateFormat.java | 139 ULocale.getDefault(Category.FORMAT).toLocale()); in DateFormat() 1021 ULocale.getDefault(Category.FORMAT).toLocale())); in getTimeInstance() 1036 ULocale.getDefault(Category.FORMAT).toLocale())); in getTimeInstance() 1066 … new DateFormat(java.text.DateFormat.getTimeInstance(getJDKFormatStyle(style), locale.toLocale())); in getTimeInstance() 1079 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateInstance() 1094 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateInstance() 1124 … new DateFormat(java.text.DateFormat.getDateInstance(getJDKFormatStyle(style), locale.toLocale())); in getDateInstance() 1138 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() 1159 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() 1163 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() [all …]
|
D | BreakIterator.java | 472 return getBreakInstance(where.toLocale(), KIND_WORD); in getWordInstance() 511 return getBreakInstance(where.toLocale(), KIND_LINE); in getLineInstance() 550 return getBreakInstance(where.toLocale(), KIND_CHARACTER); in getCharacterInstance() 584 return getBreakInstance(where.toLocale(), KIND_SENTENCE); in getSentenceInstance() 678 return getBreakInstance(where.toLocale(), KIND_SENTENCE); in getBreakInstance()
|
D | DateFormatSymbols.java | 136 this(new java.text.DateFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DateFormatSymbols() 162 this(new java.text.DateFormatSymbols(locale.toLocale())); in DateFormatSymbols() 209 return new DateFormatSymbols(new java.text.DateFormatSymbols(locale.toLocale())); in getInstance()
|
D | DecimalFormatSymbols.java | 61 this(new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DecimalFormatSymbols() 79 this(new java.text.DecimalFormatSymbols(locale.toLocale())); in DecimalFormatSymbols()
|
D | MessageFormat.java | 442 this(new java.text.MessageFormat(pattern, ULocale.getDefault(Category.FORMAT).toLocale())); in MessageFormat() 476 this(new java.text.MessageFormat(pattern, locale.toLocale())); in MessageFormat() 504 messageFormat.setLocale(locale.toLocale()); in setLocale()
|
D | DecimalFormat.java | 623 if (!ULocale.getDefault(Category.FORMAT).toLocale().equals(Locale.getDefault())) { in DecimalFormat() 626 …ormat jdkNfmt = java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale()); in DecimalFormat() 654 … new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale()))); in DecimalFormat()
|
D | NumberFormat.java | 797 return createFormat(loc.toLocale(), formatType); in createFormat() 1118 Locale locale = desiredLocale.toLocale(); in getInstance() 1149 this(java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale())); in NumberFormat()
|
D | Collator.java | 492 return getInstance(locale.toLocale()); in getInstance()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Currency.java | 91 return new Currency(java.util.Currency.getInstance(locale.toLocale())); in getInstance() 260 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale()); in getSymbol() 282 return currency.getSymbol(uloc.toLocale()); in getSymbol()
|
D | TimeZone.java | 365 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName() 395 return timeZone.getDisplayName(locale.toLocale()); in getDisplayName() 456 return timeZone.getDisplayName(daylight, java.util.TimeZone.SHORT, locale.toLocale()); in getDisplayName() 458 return timeZone.getDisplayName(daylight, java.util.TimeZone.LONG, locale.toLocale()); in getDisplayName()
|
D | Calendar.java | 1203 calendar = java.util.Calendar.getInstance(zone.timeZone, locale.toLocale()); in Calendar() 1213 …eturn new Calendar(java.util.Calendar.getInstance(ULocale.getDefault(Category.FORMAT).toLocale())); in getInstance() 1224 …dar(java.util.Calendar.getInstance(zone.timeZone, ULocale.getDefault(Category.FORMAT).toLocale())); in getInstance() 1246 return new Calendar(java.util.Calendar.getInstance(locale.toLocale())); in getInstance() 1270 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, locale.toLocale())); in getInstance() 1862 return getDateTimeFormat(dateStyle, timeStyle, loc.toLocale()); in getDateTimeFormat()
|
D | ULocale.java | 516 public Locale toLocale() { in toLocale() method in ULocale 518 locale = JDKLocaleHelper.toLocale(this); in toLocale() 598 defaultLocale = newLocale.toLocale(); in setDefault() 675 Locale newJavaDefault = newLocale.toLocale(); in setDefault() 1299 return locale.toLocale().getDisplayLanguage(displayLocale.toLocale()); in getDisplayLanguageInternal() 1352 … dispScript = (String) mGetDisplayScript.invoke(locale.toLocale(), displayLocale.toLocale()); in getDisplayScriptInternal() 1412 return locale.toLocale().getDisplayCountry(displayLocale.toLocale()); in getDisplayCountryInternal() 1461 return locale.toLocale().getDisplayVariant(displayLocale.toLocale()); in getDisplayVariantInternal() 1613 return locale.toLocale().getDisplayName(displayLocale.toLocale()); in getDisplayNameInternal() 1668 return locale.toLocale().getDisplayName(displayLocale.toLocale()); in getDisplayNameWithDialectInternal() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | ULocaleTest.java | 37 sampleLocale = new ULocale(sampleName).toLocale(); in setUp() 76 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); in testULocaleStringStringString() 91 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); in testToLocale() 98 assertEquals(Locale.getDefault(), ULocale.getDefault().toLocale()); in testGetDefault() 142 assertEquals(ulocales[i].toLocale(), locales[i]); in testGetAvailableLocales() 185 assertEquals("ll", longULocale.toLocale().getLanguage()); in testGetLanguage() 214 assertEquals("CC", longULocale.toLocale().getCountry()); in testGetCountry() 229 assertEquals("VVVV", longULocale.toLocale().getVariant()); in testGetVariant()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 587 UResourceBundle *toArray, const char *toLocale, in compareArrays() argument 599 toLocale); in compareArrays() 612 toLocale, in compareArrays() 619 compareConsistentCountryInfo(const char *fromLocale, const char *toLocale) { in compareConsistentCountryInfo() argument 623 UResourceBundle *toLocaleBund = ures_open(NULL, toLocale, &errorCode); in compareConsistentCountryInfo() 627 …log_err("Can't open resource bundle %s or %s - %s\n", fromLocale, toLocale, u_errorName(errorCode)… in compareConsistentCountryInfo() 641 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2); in compareConsistentCountryInfo() 650 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo() 669 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo() 671 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 5, 10); in compareConsistentCountryInfo() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
D | ICULocaleServiceProvider.java | 186 locales.add(uloc.toLocale()); in addULocale() 201 locales.add(ulocWithVar.toLocale()); in addULocale()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ULocaleCollationTest.java | 162 valid.toLocale(), actual.toLocale(), in checkObject()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleCollationTest.java | 165 valid.toLocale(), actual.toLocale(), in checkObject()
|
D | ICUServiceTestSample.java | 217 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
D | ULocaleTest.java | 415 valid.toLocale(), actual.toLocale(), in checkObject() 4455 Locale loc = new ULocale((String) DATA[i][0]).toLocale(); in TestToLocale() 4465 Locale loc = new ULocale((String) DATA7[i][0]).toLocale(); in TestToLocale() 4485 Locale loc = new ULocale(DATA7EXT[i][0]).toLocale(); in TestToLocale() 4501 Locale loc = new ULocale((String) DATA6[i][0]).toLocale(); in TestToLocale() 4828 assertEquals(pair[0].toString(), pair[0].toLocale(), pair[1].toLocale()); in TestChineseToLocale()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TestUtil.java | 48 return modUloc.toLocale(); in toICUExtendedLocale()
|
D | CollatorTest.java | 144 Locale loc = uloc.toLocale(); in TestCollationKeyword()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTestSample.java | 214 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
D | ULocaleTest.java | 412 valid.toLocale(), actual.toLocale(), in checkObject() 4452 Locale loc = new ULocale((String) DATA[i][0]).toLocale(); in TestToLocale() 4462 Locale loc = new ULocale((String) DATA7[i][0]).toLocale(); in TestToLocale() 4482 Locale loc = new ULocale(DATA7EXT[i][0]).toLocale(); in TestToLocale() 4498 Locale loc = new ULocale((String) DATA6[i][0]).toLocale(); in TestToLocale() 4825 assertEquals(pair[0].toString(), pair[0].toLocale(), pair[1].toLocale()); in TestChineseToLocale()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | TestCLDRTests.java | 112 oLocale = uLocale.toLocale(); in doSingle() 215 Collator col = Collator.getInstance(uLocale.toLocale());
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/text/ |
D | RbnfScannerProviderImpl.java | 103 collator = (RuleBasedCollator)Collator.getInstance(locale.toLocale()); in createScanner()
|