Home
last modified time | relevance | path

Searched refs:withLocale (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatter.java78 public DurationFormatter withLocale(String locName) {
80 PeriodFormatter newFormatter = formatter.withLocale(locName);
81 PeriodBuilder newBuilder = builder.withLocale(locName);
84 : fallback.withLocale(locName);
DBasicDurationFormatterFactory.java124 builder = builder.withLocale(localeName); in setLocale()
127 formatter = formatter.withLocale(localeName); in setLocale()
162 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
DPeriodFormatter.java42 PeriodFormatter withLocale(String localeName); in withLocale() method
DPeriodBuilder.java48 PeriodBuilder withLocale(String localeName); in withLocale() method
DDateFormatter.java43 DateFormatter withLocale(String localeName); in withLocale() method
DDurationFormatter.java68 DurationFormatter withLocale(String localeName); in withLocale() method
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormatter.java79 public DurationFormatter withLocale(String locName) {
81 PeriodFormatter newFormatter = formatter.withLocale(locName);
82 PeriodBuilder newBuilder = builder.withLocale(locName);
85 : fallback.withLocale(locName);
DBasicDurationFormatterFactory.java125 builder = builder.withLocale(localeName); in setLocale()
128 formatter = formatter.withLocale(localeName); in setLocale()
163 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
DPeriodFormatter.java44 PeriodFormatter withLocale(String localeName); in withLocale() method
DPeriodBuilder.java50 PeriodBuilder withLocale(String localeName); in withLocale() method
DDateFormatter.java45 DateFormatter withLocale(String localeName); in withLocale() method
DDurationFormatter.java70 DurationFormatter withLocale(String localeName); in withLocale() method
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatter.java182 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter
195 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
DNumberFormatter.java417 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter
430 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
DNumberRangeFormatterImpl.java112 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl()
114 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatter.java194 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter
208 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
DNumberFormatter.java437 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter
451 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
DNumberRangeFormatterImpl.java111 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl()
113 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_range.cpp57 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter::withLocale("en-us"); in testSanity()
735 l1 = NumberRangeFormatter::withLocale("fr-FR") in testCopyMove()
748 l1 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove()
749 l2 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove()
Dnumbertest_api.cpp1683 … NumberFormatter::withLocale(Locale("ar@numbers=arab")).adoptSymbols(new NumberingSystem(LATN)) in symbols()
2063 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale()
2070 LocalizedNumberFormatter formatter = NumberFormatter::withLocale(Locale::getEnglish()); in formatTypes()
2092 FormattedNumber fmtd = NumberFormatter::withLocale("en").formatDouble(-9876543210.12, status); in fieldPosition()
2174 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPosition()
2180 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("fr") in toFormat()
2203 LocalizedNumberFormatter lnf = NumberFormatter::withLocale(Locale::getEnglish()).precision( in errors()
2225 fn = NumberFormatter::withLocale("en").formatDecimal("1x2", status); in errors()
2364 l1 = NumberFormatter::withLocale("en").unit(NoUnit::percent()).threshold(3); in copyMove()
2392 l1 = NumberFormatter::withLocale("en"); in copyMove()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java1667 NumberFormatter.withLocale(new ULocale("ar@numbers=arab")) in symbols()
2057 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(ULocale.EN… in locale()
2058 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(Locale.ENG… in locale()
2064 LocalizedNumberFormatter formatter = NumberFormatter.withLocale(ULocale.ENGLISH); in formatTypes()
2087 FormattedNumber fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(-9876543210.12); in fieldPosition()
2154 fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(5); in fieldPosition()
2163 NumberFormatter.withLocale(ULocale.FRENCH).toFormat(), in getTestObjects()
2182 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat()
DNumberRangeFormatterTest.java41 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity()
43 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity()
DExhaustiveNumberTest.java98 String actual = NumberFormatter.withLocale(ULocale.ENGLISH).rounding(Precision.unlimited()) in unlimitedRoundingBigDecimal()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java1664 NumberFormatter.withLocale(new ULocale("ar@numbers=arab")) in symbols()
2054 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(ULocale.EN… in locale()
2055 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(Locale.ENG… in locale()
2061 LocalizedNumberFormatter formatter = NumberFormatter.withLocale(ULocale.ENGLISH); in formatTypes()
2084 FormattedNumber fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(-9876543210.12); in fieldPosition()
2151 fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(5); in fieldPosition()
2160 NumberFormatter.withLocale(ULocale.FRENCH).toFormat(), in getTestObjects()
2179 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat()
DNumberRangeFormatterTest.java38 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity()
40 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity()

12