/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 44 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 …]
|
D | IntlTestDateFormatAPI.java | 203 de.setNumberFormat(newNf); in TestAPI() 204 it.setNumberFormat(newNf); in TestAPI()
|
D | NumberFormatRegressionTest.java | 88 df.setNumberFormat(nf); in TestJ691()
|
D | PluralFormatTest.java | 333 pf.setNumberFormat(nf); in TestFractionRounding()
|
D | DateFormatTest.java | 2497 f.setNumberFormat(nf); in TestCoverage() 4137 fmt.setNumberFormat("y", check_nf); in TestOverrideNumberForamt() 4144 fmt.setNumberFormat("y", reused_nf); in TestOverrideNumberForamt() 4145 fmt.setNumberFormat(reused_nf); // test the same override NF will not crash in TestOverrideNumberForamt() 4167 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4170 fmt.setNumberFormat("M", single_override); in TestOverrideNumberForamt() 4171 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4174 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt() 4180 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt()
|
D | PluralFormatUnitTest.java | 403 pf2.setNumberFormat(new DecimalFormat("0.0", new DecimalFormatSymbols(ULocale.ENGLISH))); in TestDecimals()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeUnitTest.java | 47 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 …]
|
D | IntlTestDateFormatAPI.java | 206 de.setNumberFormat(newNf); in TestAPI() 207 it.setNumberFormat(newNf); in TestAPI()
|
D | GlobalizationPreferencesTest.java | 1503 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()
|
D | NumberFormatRegressionTest.java | 91 df.setNumberFormat(nf); in TestJ691()
|
D | PluralFormatTest.java | 336 pf.setNumberFormat(nf); in TestFractionRounding()
|
D | DateFormatTest.java | 2500 f.setNumberFormat(nf); in TestCoverage() 4140 fmt.setNumberFormat("y", check_nf); in TestOverrideNumberForamt() 4147 fmt.setNumberFormat("y", reused_nf); in TestOverrideNumberForamt() 4148 fmt.setNumberFormat(reused_nf); // test the same override NF will not crash in TestOverrideNumberForamt() 4170 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4173 fmt.setNumberFormat("M", single_override); in TestOverrideNumberForamt() 4174 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4177 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt() 4183 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | SimpleDateFormatICU.java | 292 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()
|
/external/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 279 tmf_en->setNumberFormat(*numberFmt, status); in testAPI() 295 format->setNumberFormat(*numberFmt, status); in testAPI() 451 timeUnitFormat->setNumberFormat(*numberFmt, status); in testGreekWithSanitization() 480 tuf.setNumberFormat(*nf, status); in test10219Plurals()
|
D | plurfmts.cpp | 95 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest() 674 pf2.setNumberFormat(&df, errorCode); in TestDecimals()
|
D | dtfmapts.cpp | 240 it->setNumberFormat(*newNf); in testAPI()
|
/external/icu/libicu/cts_headers/unicode/ |
D | tmutfmt.h | 161 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
|
D | plurfmt.h | 420 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
|
D | datefmt.h | 772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tmutfmt.h | 161 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
|
D | plurfmt.h | 420 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
|
D | datefmt.h | 772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 1500 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()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeUnitFormat.java | 157 setNumberFormat((NumberFormat) numberFormat.clone()); in TimeUnitFormat() 202 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat() method in TimeUnitFormat
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeUnitFormat.java | 159 setNumberFormat((NumberFormat) numberFormat.clone()); in TimeUnitFormat() 204 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat() method in TimeUnitFormat
|