/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 | 1493 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum); in TestNumberFormat() 1495 gp.setNumberFormat(GlobalizationPreferences.NF_CURRENCY, customCur); in TestNumberFormat() 1497 gp.setNumberFormat(GlobalizationPreferences.NF_PERCENT, customPct); in TestNumberFormat() 1499 gp.setNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC, customSci); in TestNumberFormat() 1501 gp.setNumberFormat(GlobalizationPreferences.NF_INTEGER, customInt); in TestNumberFormat() 1532 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat() 1551 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 | 2412 f.setNumberFormat(nf); in TestCoverage() 4052 fmt.setNumberFormat("y", check_nf); in TestOverrideNumberForamt() 4059 fmt.setNumberFormat("y", reused_nf); in TestOverrideNumberForamt() 4060 fmt.setNumberFormat(reused_nf); // test the same override NF will not crash in TestOverrideNumberForamt() 4082 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4085 fmt.setNumberFormat("M", single_override); in TestOverrideNumberForamt() 4086 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4089 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt() 4095 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt()
|
D | PluralFormatUnitTest.java | 406 pf2.setNumberFormat(new DecimalFormat("0.0", new DecimalFormatSymbols(ULocale.ENGLISH))); in TestDecimals()
|
/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 | 2409 f.setNumberFormat(nf); in TestCoverage() 4049 fmt.setNumberFormat("y", check_nf); in TestOverrideNumberForamt() 4056 fmt.setNumberFormat("y", reused_nf); in TestOverrideNumberForamt() 4057 fmt.setNumberFormat(reused_nf); // test the same override NF will not crash in TestOverrideNumberForamt() 4079 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4082 fmt.setNumberFormat("M", single_override); in TestOverrideNumberForamt() 4083 fmt.setNumberFormat(override); in TestOverrideNumberForamt() 4086 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt() 4092 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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 339 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() method in SimpleDateFormat 340 super.setNumberFormat(newNumberFormat); in setNumberFormat()
|
D | DateFormat.java | 1295 public void setNumberFormat(NumberFormat newNumberFormat) in setNumberFormat() method in DateFormat 1297 dateFormat.setNumberFormat(newNumberFormat.numberFormat); in setNumberFormat()
|
/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 | 1490 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum); in TestNumberFormat() 1492 gp.setNumberFormat(GlobalizationPreferences.NF_CURRENCY, customCur); in TestNumberFormat() 1494 gp.setNumberFormat(GlobalizationPreferences.NF_PERCENT, customPct); in TestNumberFormat() 1496 gp.setNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC, customSci); in TestNumberFormat() 1498 gp.setNumberFormat(GlobalizationPreferences.NF_INTEGER, customInt); in TestNumberFormat() 1529 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat() 1548 gp1.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
|
/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
|
/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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | DateFormatTest.java | 294 df.setNumberFormat(nf); in testSetNumberFormat()
|