/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicDurationFormatter.java | 78 public DurationFormatter withLocale(String locName) { 80 PeriodFormatter newFormatter = formatter.withLocale(locName); 81 PeriodBuilder newBuilder = builder.withLocale(locName); 84 : fallback.withLocale(locName);
|
D | BasicDurationFormatterFactory.java | 124 builder = builder.withLocale(localeName); in setLocale() 127 formatter = formatter.withLocale(localeName); in setLocale() 162 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
|
D | PeriodFormatter.java | 42 PeriodFormatter withLocale(String localeName); in withLocale() method
|
D | PeriodBuilder.java | 48 PeriodBuilder withLocale(String localeName); in withLocale() method
|
D | DateFormatter.java | 43 DateFormatter withLocale(String localeName); in withLocale() method
|
D | DurationFormatter.java | 68 DurationFormatter withLocale(String localeName); in withLocale() method
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
D | BasicDurationFormatter.java | 79 public DurationFormatter withLocale(String locName) { 81 PeriodFormatter newFormatter = formatter.withLocale(locName); 82 PeriodBuilder newBuilder = builder.withLocale(locName); 85 : fallback.withLocale(locName);
|
D | BasicDurationFormatterFactory.java | 125 builder = builder.withLocale(localeName); in setLocale() 128 formatter = formatter.withLocale(localeName); in setLocale() 163 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
|
D | PeriodFormatter.java | 44 PeriodFormatter withLocale(String localeName); in withLocale() method
|
D | PeriodBuilder.java | 50 PeriodBuilder withLocale(String localeName); in withLocale() method
|
D | DateFormatter.java | 45 DateFormatter withLocale(String localeName); in withLocale() method
|
D | DurationFormatter.java | 70 DurationFormatter withLocale(String localeName); in withLocale() method
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
D | NumberRangeFormatter.java | 166 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter 178 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
|
D | NumberFormatter.java | 418 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter 430 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
|
D | NumberRangeFormatterImpl.java | 137 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl() 139 : NumberFormatter.withLocale(macros.loc).resolve()); in NumberRangeFormatterImpl()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_range.cpp | 60 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter::withLocale("en-us"); in testSanity() 765 NumberRangeFormatter::withLocale("en-us"), in testFieldPositions() 797 l1 = NumberRangeFormatter::withLocale("fr-FR") in testCopyMove() 810 l1 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove() 811 l2 = NumberRangeFormatter::withLocale("en-us"); in testCopyMove() 835 LocalizedNumberRangeFormatter lnf = NumberRangeFormatter::withLocale("en"); in toObject() 845 NumberRangeFormatter::withLocale("en").clone()); in toObject() 854 NumberRangeFormatter::withLocale("en").clone(); in toObject() 869 LocalizedNumberRangeFormatter lnf = NumberRangeFormatter::withLocale("en") in testGetDecimalNumbers()
|
D | numbertest_api.cpp | 3923 … NumberFormatter::withLocale(Locale("ar@numbers=arab")).adoptSymbols(new NumberingSystem(LATN)) in symbols() 4532 UnicodeString actual = NumberFormatter::withLocale(Locale::getFrench()).formatInt(1234, status) in locale() 4586 LocalizedNumberFormatter formatter = NumberFormatter::withLocale(Locale::getEnglish()); in formatTypes() 4660 fmtd = NumberFormatter::withLocale("en").formatInt(5, status); in fieldPositionLogic() 4980 LocalizedNumberFormatter lnf = NumberFormatter::withLocale("fr") in toFormat() 5011 LocalizedNumberFormatter lnf = NumberFormatter::withLocale(Locale::getEnglish()).precision( in errors() 5033 fn = NumberFormatter::withLocale("en").formatDecimal("1x2", status); in errors() 5173 l1 = NumberFormatter::withLocale("en").unit(NoUnit::percent()).threshold(3); in copyMove() 5201 l1 = NumberFormatter::withLocale("en"); in copyMove() 5205 l2 = NumberFormatter::withLocale("en"); in copyMove() [all …]
|
D | numbertest_decimalquantity.cpp | 656 LocalizedNumberFormatter withLocale = NumberFormatter::withLocale(ulocale); in testSuppressedExponentUnchangedByInitialScaling() local 658 withLocale.notation(Notation::compactLong()); in testSuppressedExponentUnchangedByInitialScaling()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberRangeFormatter.java | 218 public static LocalizedNumberRangeFormatter withLocale(Locale locale) { in withLocale() method in NumberRangeFormatter 231 public static LocalizedNumberRangeFormatter withLocale(ULocale locale) { in withLocale() method in NumberRangeFormatter
|
D | NumberFormatter.java | 543 public static LocalizedNumberFormatter withLocale(Locale locale) { in withLocale() method in NumberFormatter 556 public static LocalizedNumberFormatter withLocale(ULocale locale) { in withLocale() method in NumberFormatter
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 54 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity() 56 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity() 754 NumberRangeFormatter.withLocale(ULocale.US), in testFieldPositions()
|
D | DecimalQuantityTest.java | 749 NumberFormatter.withLocale(locale) in testCompactNotationFractionPluralOperands() 813 LocalizedNumberFormatter withLocale = NumberFormatter.withLocale(locale); in testSuppressedExponentUnchangedByInitialScaling() local 815 withLocale.notation(Notation.compactLong()); in testSuppressedExponentUnchangedByInitialScaling()
|
D | NumberFormatterApiTest.java | 2042 NumberFormatter.withLocale(new ULocale("ar@numbers=arab")) in symbols() 2577 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(ULocale.EN… in locale() 2578 …assertEquals(NumberFormatter.with().locale(ULocale.ENGLISH), NumberFormatter.withLocale(Locale.ENG… in locale() 2584 LocalizedNumberFormatter formatter = NumberFormatter.withLocale(ULocale.ENGLISH); in formatTypes() 2657 fmtd = NumberFormatter.withLocale(ULocale.ENGLISH).format(5); in fieldPositionLogic() 2943 NumberFormatter.withLocale(ULocale.FRENCH).toFormat(), in getTestObjects() 2962 LocalizedNumberFormatter lnf = NumberFormatter.withLocale(ULocale.FRENCH) in toFormat()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 50 LocalizedNumberRangeFormatter lnrf1 = NumberRangeFormatter.withLocale(ULocale.US); in testSanity() 52 LocalizedNumberRangeFormatter lnrf3 = NumberRangeFormatter.withLocale(Locale.US); in testSanity() 772 NumberRangeFormatter.withLocale(ULocale.US), in testFieldPositions()
|
D | DecimalQuantityTest.java | 772 NumberFormatter.withLocale(locale) in testCompactNotationFractionPluralOperands() 842 LocalizedNumberFormatter withLocale = NumberFormatter.withLocale(locale); in testSuppressedExponentUnchangedByInitialScaling() local 844 withLocale.notation(Notation.compactLong()); in testSuppressedExponentUnchangedByInitialScaling()
|