Home
last modified time | relevance | path

Searched refs:setNumberFormat (Results 1 – 25 of 61) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeUnitTest.java47 tuf.setNumberFormat(nf); in Test10219FractionalPlurals()
112 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en"))); in TestAPI()
117 format.setNumberFormat(NumberFormat.getNumberInstance(es)); in TestAPI()
126 format.setNumberFormat(NumberFormat.getNumberInstance(new Locale("en"))); in TestAPI()
134 tuf.setNumberFormat(nf); in TestClone()
286 tuf.setNumberFormat(numfmt); in TestGreekWithSanitization()
379 tuf.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
382 if (!tuf.setNumberFormat(NumberFormat.getInstance()).equals(tuf)) { in TestSetNumberFormat()
389 if (!tuf.setNumberFormat(null).equals(tuf)) { in TestSetNumberFormat()
397 tuf1.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
[all …]
DIntlTestDateFormatAPI.java206 de.setNumberFormat(newNf); in TestAPI()
207 it.setNumberFormat(newNf); in TestAPI()
DGlobalizationPreferencesTest.java1503 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum); in TestNumberFormat()
1505 gp.setNumberFormat(GlobalizationPreferences.NF_CURRENCY, customCur); in TestNumberFormat()
1507 gp.setNumberFormat(GlobalizationPreferences.NF_PERCENT, customPct); in TestNumberFormat()
1509 gp.setNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC, customSci); in TestNumberFormat()
1511 gp.setNumberFormat(GlobalizationPreferences.NF_INTEGER, customInt); in TestNumberFormat()
1542 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
1561 gp1.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
DNumberFormatRegressionTest.java91 df.setNumberFormat(nf); in TestJ691()
DPluralFormatTest.java336 pf.setNumberFormat(nf); in TestFractionRounding()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java44 tuf.setNumberFormat(nf); in Test10219FractionalPlurals()
109 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en"))); in TestAPI()
114 format.setNumberFormat(NumberFormat.getNumberInstance(es)); in TestAPI()
123 format.setNumberFormat(NumberFormat.getNumberInstance(new Locale("en"))); in TestAPI()
131 tuf.setNumberFormat(nf); in TestClone()
283 tuf.setNumberFormat(numfmt); in TestGreekWithSanitization()
376 tuf.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
379 if (!tuf.setNumberFormat(NumberFormat.getInstance()).equals(tuf)) { in TestSetNumberFormat()
386 if (!tuf.setNumberFormat(null).equals(tuf)) { in TestSetNumberFormat()
394 tuf1.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
[all …]
DIntlTestDateFormatAPI.java203 de.setNumberFormat(newNf); in TestAPI()
204 it.setNumberFormat(newNf); in TestAPI()
DNumberFormatRegressionTest.java88 df.setNumberFormat(nf); in TestJ691()
DPluralFormatTest.java333 pf.setNumberFormat(nf); in TestFractionRounding()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java292 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() method in SimpleDateFormatICU
294 fIcuSdf.setNumberFormat(((DecimalFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
296 fIcuSdf.setNumberFormat(((NumberFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
298 fIcuSdf.setNumberFormat(NumberFormatJDK.wrap(newNumberFormat)); in setNumberFormat()
/third_party/icu/icu4c/source/test/intltest/
Dtufmtts.cpp279 tmf_en->setNumberFormat(*numberFmt, status); in testAPI()
295 format->setNumberFormat(*numberFmt, status); in testAPI()
453 timeUnitFormat->setNumberFormat(*numberFmt, status); in testGreekWithSanitization()
482 tuf.setNumberFormat(*nf, status); in test10219Plurals()
Dplurfmts.cpp95 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest()
674 pf2.setNumberFormat(&df, errorCode); in TestDecimals()
Ddtfmapts.cpp240 it->setNumberFormat(*newNf); in testAPI()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1500 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum); in TestNumberFormat()
1502 gp.setNumberFormat(GlobalizationPreferences.NF_CURRENCY, customCur); in TestNumberFormat()
1504 gp.setNumberFormat(GlobalizationPreferences.NF_PERCENT, customPct); in TestNumberFormat()
1506 gp.setNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC, customSci); in TestNumberFormat()
1508 gp.setNumberFormat(GlobalizationPreferences.NF_INTEGER, customInt); in TestNumberFormat()
1539 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
1558 gp1.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dtmutfmt.h152 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
Dplurfmt.h420 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
Ddatefmt.h772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
/third_party/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h152 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
Dplurfmt.h420 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
Ddatefmt.h772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtmutfmt.h161 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
Dplurfmt.h420 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
Ddatefmt.h772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTimeUnitFormat.java159 setNumberFormat((NumberFormat) numberFormat.clone()); in TimeUnitFormat()
204 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat() method in TimeUnitFormat
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java157 setNumberFormat((NumberFormat) numberFormat.clone()); in TimeUnitFormat()
202 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat() method in TimeUnitFormat

123