/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
Currency.java | 89 return new Currency(java.util.Currency.getInstance(locale.toLocale())); 258 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale()); 280 return currency.getSymbol(uloc.toLocale());
|
TimeZone.java | 363 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); 393 return timeZone.getDisplayName(locale.toLocale()); 454 return timeZone.getDisplayName(daylight, java.util.TimeZone.SHORT, locale.toLocale()); 456 return timeZone.getDisplayName(daylight, java.util.TimeZone.LONG, locale.toLocale()); [all...] |
Calendar.java | [all...] |
ULocale.java | 514 public Locale toLocale() { 516 locale = JDKLocaleHelper.toLocale(this); 596 defaultLocale = newLocale.toLocale(); 673 Locale newJavaDefault = newLocale.toLocale(); [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
BreakIterator.java | 470 return getBreakInstance(where.toLocale(), KIND_WORD); 509 return getBreakInstance(where.toLocale(), KIND_LINE); 548 return getBreakInstance(where.toLocale(), KIND_CHARACTER); 582 return getBreakInstance(where.toLocale(), KIND_SENTENCE); 624 // return getBreakInstance(where.toLocale(), KIND_TITLE); 676 return getBreakInstance(where.toLocale(), KIND_SENTENCE); [all...] |
DateFormatSymbols.java | 134 this(new java.text.DateFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); 160 this(new java.text.DateFormatSymbols(locale.toLocale())); 207 return new DateFormatSymbols(new java.text.DateFormatSymbols(locale.toLocale())); [all...] |
DateFormat.java | 137 ULocale.getDefault(Category.FORMAT).toLocale()); [all...] |
DecimalFormatSymbols.java | 59 this(new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())); 77 this(new java.text.DecimalFormatSymbols(locale.toLocale()));
|
MessageFormat.java | 440 this(new java.text.MessageFormat(pattern, ULocale.getDefault(Category.FORMAT).toLocale())); 474 this(new java.text.MessageFormat(pattern, locale.toLocale())); 502 messageFormat.setLocale(locale.toLocale()); [all...] |
DecimalFormat.java | 621 if (!ULocale.getDefault(Category.FORMAT).toLocale().equals(Locale.getDefault())) { 624 java.text.NumberFormat jdkNfmt = java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale()); 652 new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale()))); [all...] |
Collator.java | 410 // return createCollator(loc.toLocale()); 490 return getInstance(locale.toLocale()); [all...] |
NumberFormat.java | 795 return createFormat(loc.toLocale(), formatType); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
AndroidLocale.java | 55 return ULocale.forLanguageTag(tag).toLocale();
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
ULocaleTest.java | 35 sampleLocale = new ULocale(sampleName).toLocale(); 74 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); 86 * Test method for 'com.ibm.icu.x.util.ULocale.toLocale()' 89 assertEquals(sampleLocale, new ULocale("ll", "cc", "VVVV").toLocale()); 96 assertEquals(Locale.getDefault(), ULocale.getDefault().toLocale()); 140 assertEquals(ulocales[i].toLocale(), locales[i]); 183 assertEquals("ll", longULocale.toLocale().getLanguage()); 212 assertEquals("CC", longULocale.toLocale().getCountry()); 227 assertEquals("VVVV", longULocale.toLocale().getVariant());
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CurrencyFormat.java | 45 fmt = NumberFormat.getCurrencyInstance(locale.toLocale());
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CurrencyFormat.java | 44 fmt = NumberFormat.getCurrencyInstance(locale.toLocale());
|
/external/icu/icu4c/source/test/cintltst/ |
cldrtest.c | 583 UResourceBundle *toArray, const char *toLocale, 595 toLocale); 608 toLocale, 615 compareConsistentCountryInfo(const char *fromLocale, const char *toLocale) { 619 UResourceBundle *toLocaleBund = ures_open(NULL, toLocale, &errorCode); 623 log_err("Can't open resource bundle %s or %s - %s\n", fromLocale, toLocale, u_errorName(errorCode)); 637 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2); 646 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3); 656 compareArrays("DateTimePatterns", fromArray, fromLocale, toArray, toLocale); 665 compareArrays("NumberElements", fromArray, fromLocale, toArray, toLocale, 0, 3) [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
TestUtil.java | 46 return modUloc.toLocale();
|
CollatorTest.java | 138 Locale loc = uloc0.toLocale();
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/ |
ICULocaleServiceProvider.java | 185 // ULocale#toLocale on Java 6 maps "nn" to "no_NO_NY" 192 locales.add(uloc.toLocale()); 207 locales.add(ulocWithVar.toLocale());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUServiceTestSample.java | 213 Collator col = Collator.getInstance(locale.toLocale());
|
ULocaleCollationTest.java | 160 valid.toLocale(), actual.toLocale(),
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUServiceTestSample.java | 212 Collator col = Collator.getInstance(locale.toLocale());
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
ULocaleCollationTest.java | 156 valid.toLocale(), actual.toLocale(),
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/text/ |
RbnfScannerProviderImpl.java | 103 collator = (RuleBasedCollator)Collator.getInstance(locale.toLocale());
|