Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java40 tuf.setNumberFormat(nf); in Test10219FractionalPlurals()
102 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en"))); in TestAPI()
107 format.setNumberFormat(NumberFormat.getNumberInstance(es)); in TestAPI()
116 format.setNumberFormat(NumberFormat.getNumberInstance(new Locale("en"))); in TestAPI()
123 tuf.setNumberFormat(nf); in TestClone()
271 tuf.setNumberFormat(numfmt); in TestGreekWithSanitization()
343 tuf.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
346 if (!tuf.setNumberFormat(NumberFormat.getInstance()).equals(tuf)) { in TestSetNumberFormat()
353 if (!tuf.setNumberFormat(null).equals(tuf)) { in TestSetNumberFormat()
361 tuf1.setNumberFormat(NumberFormat.getInstance()); in TestSetNumberFormat()
[all …]
DIntlTestDateFormatAPI.java202 de.setNumberFormat(newNf); in TestAPI()
203 it.setNumberFormat(newNf); in TestAPI()
DNumberFormatRegressionTest.java80 df.setNumberFormat(nf); in TestJ691()
DDateFormatTest.java2340 f.setNumberFormat(nf); in TestCoverage()
3955 fmt.setNumberFormat("y", check_nf); in TestOverrideNumberForamt()
3962 fmt.setNumberFormat("y", reused_nf); in TestOverrideNumberForamt()
3963 fmt.setNumberFormat(reused_nf); // test the same override NF will not crash in TestOverrideNumberForamt()
3985 fmt.setNumberFormat(override); in TestOverrideNumberForamt()
3988 fmt.setNumberFormat("M", single_override); in TestOverrideNumberForamt()
3989 fmt.setNumberFormat(override); in TestOverrideNumberForamt()
3992 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt()
3998 fmt.setNumberFormat(field, override); in TestOverrideNumberForamt()
DPluralFormatUnitTest.java366 pf2.setNumberFormat(new DecimalFormat("0.0", new DecimalFormatSymbols(ULocale.ENGLISH))); in TestDecimals()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java290 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() method in SimpleDateFormatICU
292 fIcuSdf.setNumberFormat(((DecimalFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
294 fIcuSdf.setNumberFormat(((NumberFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
296 fIcuSdf.setNumberFormat(NumberFormatJDK.wrap(newNumberFormat)); in setNumberFormat()
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp233 tmf_en->setNumberFormat(*numberFmt, status); in testAPI()
249 format->setNumberFormat(*numberFmt, status); in testAPI()
408 timeUnitFormat->setNumberFormat(*numberFmt, status); in testGreekWithSanitization()
437 tuf.setNumberFormat(*nf, status); in test10219Plurals()
Dplurfmts.cpp93 plFmt[0]->setNumberFormat(numFmt,status[0]); in pluralFormatBasicTest()
678 pf2.setNumberFormat(&df, errorCode); in TestDecimals()
Ddtfmapts.cpp238 it->setNumberFormat(*newNf); in testAPI()
/external/icu/icu4c/source/i18n/unicode/
Dtmutfmt.h155 void setNumberFormat(const NumberFormat& format, UErrorCode& status);
Dplurfmt.h416 void setNumberFormat(const NumberFormat* format, UErrorCode& status);
Ddatefmt.h778 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java1479 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum); in TestNumberFormat()
1481 gp.setNumberFormat(GlobalizationPreferences.NF_CURRENCY, customCur); in TestNumberFormat()
1483 gp.setNumberFormat(GlobalizationPreferences.NF_PERCENT, customPct); in TestNumberFormat()
1485 gp.setNumberFormat(GlobalizationPreferences.NF_SCIENTIFIC, customSci); in TestNumberFormat()
1487 gp.setNumberFormat(GlobalizationPreferences.NF_INTEGER, customInt); in TestNumberFormat()
1518 gp.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
1537 gp1.setNumberFormat(GlobalizationPreferences.NF_NUMBER, customNum1); in TestNumberFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java168 setNumberFormat((NumberFormat) numberFormat.clone()); in TimeUnitFormat()
219 public TimeUnitFormat setNumberFormat(NumberFormat format) { in setNumberFormat() method in TimeUnitFormat
DPluralFormat.java806 public void setNumberFormat(NumberFormat format) { in setNumberFormat() method in PluralFormat
DSimpleDateFormat.java2058 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() method in SimpleDateFormat
2060 super.setNumberFormat(newNumberFormat); in setNumberFormat()
4048 public void setNumberFormat(String fields, NumberFormat overrideNF) { in setNumberFormat() method in SimpleDateFormat
4141 setNumberFormat(nf); in processOverrideString()
DDateFormat.java1468 public void setNumberFormat(NumberFormat newNumberFormat) in setNumberFormat() method in DateFormat
DMeasureFormat.java1239 result.setNumberFormat(numberFormat); in createTimeUnitFormat()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp514 DateFormat::setNumberFormat(const NumberFormat& newNumberFormat) in setNumberFormat() function in DateFormat
Dplurfmt.cpp331 PluralFormat::setNumberFormat(const NumberFormat* format, UErrorCode& status) { in setNumberFormat() function in PluralFormat
Dtmutfmt.cpp679 TimeUnitFormat::setNumberFormat(const NumberFormat& format, UErrorCode& status){ in setNumberFormat() function in TimeUnitFormat
Dudat.cpp483 ((DateFormat*)fmt)->setNumberFormat(*((NumberFormat*)numberFormatToSet)); in udat_setNumberFormat()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java742 public GlobalizationPreferences setNumberFormat(int style, NumberFormat format) { in setNumberFormat() method in GlobalizationPreferences
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...