/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DateFormat.java | 137 ULocale.getDefault(Category.FORMAT).toLocale()); in DateFormat() 1019 ULocale.getDefault(Category.FORMAT).toLocale())); in getTimeInstance() 1034 ULocale.getDefault(Category.FORMAT).toLocale())); in getTimeInstance() 1064 … new DateFormat(java.text.DateFormat.getTimeInstance(getJDKFormatStyle(style), locale.toLocale())); in getTimeInstance() 1077 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateInstance() 1092 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateInstance() 1122 … new DateFormat(java.text.DateFormat.getDateInstance(getJDKFormatStyle(style), locale.toLocale())); in getDateInstance() 1136 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() 1157 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() 1161 ULocale.getDefault(Category.FORMAT).toLocale())); in getDateTimeInstance() [all …]
|
D | BreakIterator.java | 470 return getBreakInstance(where.toLocale(), KIND_WORD); in getWordInstance() 509 return getBreakInstance(where.toLocale(), KIND_LINE); in getLineInstance() 548 return getBreakInstance(where.toLocale(), KIND_CHARACTER); in getCharacterInstance() 582 return getBreakInstance(where.toLocale(), KIND_SENTENCE); in getSentenceInstance() 676 return getBreakInstance(where.toLocale(), KIND_SENTENCE); in getBreakInstance()
|
D | DateFormatSymbols.java | 134 this(new java.text.DateFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DateFormatSymbols() 160 this(new java.text.DateFormatSymbols(locale.toLocale())); in DateFormatSymbols() 207 return new DateFormatSymbols(new java.text.DateFormatSymbols(locale.toLocale())); in getInstance()
|
D | DecimalFormatSymbols.java | 59 this(new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); in DecimalFormatSymbols() 77 this(new java.text.DecimalFormatSymbols(locale.toLocale())); in DecimalFormatSymbols()
|
D | MessageFormat.java | 440 this(new java.text.MessageFormat(pattern, ULocale.getDefault(Category.FORMAT).toLocale())); in MessageFormat() 474 this(new java.text.MessageFormat(pattern, locale.toLocale())); in MessageFormat() 502 messageFormat.setLocale(locale.toLocale()); in setLocale()
|
D | DecimalFormat.java | 621 if (!ULocale.getDefault(Category.FORMAT).toLocale().equals(Locale.getDefault())) { in DecimalFormat() 624 …ormat jdkNfmt = java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale()); in DecimalFormat() 652 … new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale()))); in DecimalFormat()
|
D | NumberFormat.java | 795 return createFormat(loc.toLocale(), formatType); in createFormat() 1116 Locale locale = desiredLocale.toLocale(); in getInstance() 1147 this(java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale())); in NumberFormat()
|
D | Collator.java | 490 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 | 89 return new Currency(java.util.Currency.getInstance(locale.toLocale())); in getInstance() 258 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale()); in getSymbol() 280 return currency.getSymbol(uloc.toLocale()); in getSymbol()
|
D | TimeZone.java | 363 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName() 393 return timeZone.getDisplayName(locale.toLocale()); in getDisplayName() 454 return timeZone.getDisplayName(daylight, java.util.TimeZone.SHORT, locale.toLocale()); in getDisplayName() 456 return timeZone.getDisplayName(daylight, java.util.TimeZone.LONG, locale.toLocale()); in getDisplayName()
|
D | Calendar.java | 1201 calendar = java.util.Calendar.getInstance(zone.timeZone, locale.toLocale()); in Calendar() 1211 …eturn new Calendar(java.util.Calendar.getInstance(ULocale.getDefault(Category.FORMAT).toLocale())); in getInstance() 1222 …dar(java.util.Calendar.getInstance(zone.timeZone, ULocale.getDefault(Category.FORMAT).toLocale())); in getInstance() 1244 return new Calendar(java.util.Calendar.getInstance(locale.toLocale())); in getInstance() 1268 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, locale.toLocale())); in getInstance() 1860 return getDateTimeFormat(dateStyle, timeStyle, loc.toLocale()); in getDateTimeFormat()
|
D | ULocale.java | 514 public Locale toLocale() { in toLocale() method in ULocale 516 locale = JDKLocaleHelper.toLocale(this); in toLocale() 596 defaultLocale = newLocale.toLocale(); in setDefault() 673 Locale newJavaDefault = newLocale.toLocale(); in setDefault() 1297 return locale.toLocale().getDisplayLanguage(displayLocale.toLocale()); in getDisplayLanguageInternal() 1350 … dispScript = (String) mGetDisplayScript.invoke(locale.toLocale(), displayLocale.toLocale()); in getDisplayScriptInternal() 1410 return locale.toLocale().getDisplayCountry(displayLocale.toLocale()); in getDisplayCountryInternal() 1459 return locale.toLocale().getDisplayVariant(displayLocale.toLocale()); in getDisplayVariantInternal() 1611 return locale.toLocale().getDisplayName(displayLocale.toLocale()); in getDisplayNameInternal() 1666 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 | 35 sampleLocale = new ULocale(sampleName).toLocale(); in setUp() 74 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); in testULocaleStringStringString() 89 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); in testToLocale() 96 assertEquals(Locale.getDefault(), ULocale.getDefault().toLocale()); in testGetDefault() 140 assertEquals(ulocales[i].toLocale(), locales[i]); in testGetAvailableLocales() 183 assertEquals("ll", longULocale.toLocale().getLanguage()); in testGetLanguage() 212 assertEquals("CC", longULocale.toLocale().getCountry()); in testGetCountry() 227 assertEquals("VVVV", longULocale.toLocale().getVariant()); in testGetVariant()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 583 UResourceBundle *toArray, const char *toLocale, in compareArrays() argument 595 toLocale); in compareArrays() 608 toLocale, in compareArrays() 615 compareConsistentCountryInfo(const char *fromLocale, const char *toLocale) { in compareConsistentCountryInfo() argument 619 UResourceBundle *toLocaleBund = ures_open(NULL, toLocale, &errorCode); in compareConsistentCountryInfo() 623 …log_err("Can't open resource bundle %s or %s - %s\n", fromLocale, toLocale, u_errorName(errorCode)… in compareConsistentCountryInfo() 637 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2); in compareConsistentCountryInfo() 646 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo() 665 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo() 667 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 | 192 locales.add(uloc.toLocale()); in addULocale() 207 locales.add(ulocWithVar.toLocale()); in addULocale()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ULocaleCollationTest.java | 156 valid.toLocale(), actual.toLocale(), in checkObject()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleCollationTest.java | 160 valid.toLocale(), actual.toLocale(), in checkObject()
|
D | ICUServiceTestSample.java | 213 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
D | ULocaleTest.java | 398 valid.toLocale(), actual.toLocale(), in checkObject() 4327 Locale loc = new ULocale((String) DATA[i][0]).toLocale(); in TestToLocale() 4337 Locale loc = new ULocale((String) DATA7[i][0]).toLocale(); in TestToLocale() 4357 Locale loc = new ULocale((String) DATA7EXT[i][0]).toLocale(); in TestToLocale() 4373 Locale loc = new ULocale((String) DATA6[i][0]).toLocale(); in TestToLocale() 4690 assertEquals(pair[0].toString(), pair[0].toLocale(), pair[1].toLocale()); in TestChineseToLocale()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyFormat.java | 44 fmt = NumberFormat.getCurrencyInstance(locale.toLocale()); in CurrencyFormat()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyFormat.java | 45 fmt = NumberFormat.getCurrencyInstance(locale.toLocale()); in CurrencyFormat()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TestUtil.java | 46 return modUloc.toLocale(); in toICUExtendedLocale()
|
D | CollatorTest.java | 138 Locale loc = uloc0.toLocale(); in TestCollationKeyword()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUServiceTestSample.java | 212 Collator col = Collator.getInstance(locale.toLocale()); in getDisplayNames()
|
D | ULocaleTest.java | 394 valid.toLocale(), actual.toLocale(), in checkObject() 4323 Locale loc = new ULocale((String) DATA[i][0]).toLocale(); in TestToLocale() 4333 Locale loc = new ULocale((String) DATA7[i][0]).toLocale(); in TestToLocale() 4353 Locale loc = new ULocale((String) DATA7EXT[i][0]).toLocale(); in TestToLocale() 4369 Locale loc = new ULocale((String) DATA6[i][0]).toLocale(); in TestToLocale() 4686 assertEquals(pair[0].toString(), pair[0].toLocale(), pair[1].toLocale()); in TestChineseToLocale()
|