Home
last modified time | relevance | path

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

123

/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/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/number/
DNumberRangeFormatter.java162 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter
174 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
DNumberFormatter.java413 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter
425 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatter.java178 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter
191 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
DNumberFormatter.java440 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter
453 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
/external/icu/android_icu4j/testing/src/android/icu/extratest/number/
DFormattedNumberTest.java26 NumberFormatter.withLocale(ULocale.US).format(123.45); in test_enUS()
38 NumberFormatter.withLocale(ULocale.US).format(123.45); in testAppendTo()
DFormattedNumberRangeTest.java28 FormattedNumberRange range = NumberRangeFormatter.withLocale(ULocale.US) in test_enUS()
51 FormattedNumberRange range = NumberRangeFormatter.withLocale(ULocale.US) in testAppendTo()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_range.cpp60 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter::withLocale("en-us"); in testSanity()
764 NumberRangeFormatter::withLocale("en-us"), in testFieldPositions()
795 l1 = NumberRangeFormatter::withLocale("fr-FR") in testCopyMove()
808 l1 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove()
809 l2 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove()
833 LocalizedNumberRangeFormatter lnf = NumberRangeFormatter::withLocale("en"); in toObject()
843 NumberRangeFormatter::withLocale("en").clone()); in toObject()
852 NumberRangeFormatter::withLocale("en").clone(); in toObject()
867 LocalizedNumberRangeFormatter lnf = NumberRangeFormatter::withLocale("en") in testGetDecimalNumbers()
Dnumbertest_api.cpp2997 … NumberFormatter::withLocale(Locale("ar@numbers=arab")).adoptSymbols(new NumberingSystem(LATN)) in symbols()
3546 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale()
3600 LocalizedNumberFormatter formatter = NumberFormatter::withLocale(Locale::getEnglish()); in formatTypes()
3674 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPositionLogic()
3994 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("fr") in toFormat()
4025 LocalizedNumberFormatter lnf = NumberFormatter::withLocale(Locale::getEnglish()).precision( in errors()
4047 fn = NumberFormatter::withLocale("en").formatDecimal("1x2", status); in errors()
4187 l1 = NumberFormatter::withLocale("en").unit(NoUnit::percent()).threshold(3); in copyMove()
4215 l1 = NumberFormatter::withLocale("en"); in copyMove()
4219 l2 = NumberFormatter::withLocale("en"); in copyMove()
[all …]
Dnumbertest_decimalquantity.cpp594 LocalizedNumberFormatter withLocale = NumberFormatter::withLocale(ulocale); in testSuppressedExponentUnchangedByInitialScaling() local
596 withLocale.notation(Notation::compactLong()); in testSuppressedExponentUnchangedByInitialScaling()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberRangeFormatterTest.java54 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity()
56 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity()
754 NumberRangeFormatter.withLocale(ULocale.US), in testFieldPositions()
DDecimalQuantityTest.java749 NumberFormatter.withLocale(locale) in testCompactNotationFractionPluralOperands()
813 LocalizedNumberFormatter withLocale = NumberFormatter.withLocale(locale); in testSuppressedExponentUnchangedByInitialScaling() local
815 withLocale.notation(Notation.compactLong()); in testSuppressedExponentUnchangedByInitialScaling()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberRangeFormatterTest.java51 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity()
53 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity()
751 NumberRangeFormatter.withLocale(ULocale.US), in testFieldPositions()
DDecimalQuantityTest.java746 NumberFormatter.withLocale(locale) in testCompactNotationFractionPluralOperands()
810 LocalizedNumberFormatter withLocale = NumberFormatter.withLocale(locale); in testSuppressedExponentUnchangedByInitialScaling() local
812 withLocale.notation(Notation.compactLong()); in testSuppressedExponentUnchangedByInitialScaling()

123