Home
last modified time | relevance | path

Searched refs:newNumberFormat (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java292 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() argument
293 if (newNumberFormat instanceof DecimalFormatICU) { in setNumberFormat()
294 fIcuSdf.setNumberFormat(((DecimalFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
295 } else if (newNumberFormat instanceof NumberFormatICU) { in setNumberFormat()
296 fIcuSdf.setNumberFormat(((NumberFormatICU)newNumberFormat).unwrap()); in setNumberFormat()
298 fIcuSdf.setNumberFormat(NumberFormatJDK.wrap(newNumberFormat)); in setNumberFormat()
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp589 DateFormat::adoptNumberFormat(NumberFormat* newNumberFormat) in adoptNumberFormat() argument
592 fNumberFormat = newNumberFormat; in adoptNumberFormat()
593 newNumberFormat->setParseIntegerOnly(TRUE); in adoptNumberFormat()
594 newNumberFormat->setGroupingUsed(FALSE); in adoptNumberFormat()
599 DateFormat::setNumberFormat(const NumberFormat& newNumberFormat) in setNumberFormat() argument
601 NumberFormat* newNumFmtClone = newNumberFormat.clone(); in setNumberFormat()
/external/caliper/examples/src/main/java/examples/
DExpensiveObjectsBenchmark.java43 @Benchmark void newNumberFormat(int reps) { in newNumberFormat() method in ExpensiveObjectsBenchmark
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DSimpleDateFormat.java339 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() argument
340 super.setNumberFormat(newNumberFormat); in setNumberFormat()
DDateFormat.java1295 public void setNumberFormat(NumberFormat newNumberFormat) in setNumberFormat() argument
1297 dateFormat.setNumberFormat(newNumberFormat.numberFormat); in setNumberFormat()
/external/icu/icu4c/source/i18n/unicode/
Ddatefmt.h772 virtual void setNumberFormat(const NumberFormat& newNumberFormat);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormat.java1484 public void setNumberFormat(NumberFormat newNumberFormat) in setNumberFormat() argument
1486 numberFormat = (NumberFormat)newNumberFormat.clone(); in setNumberFormat()
DSimpleDateFormat.java2243 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() argument
2245 super.setNumberFormat(newNumberFormat); in setNumberFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java1598 public void setNumberFormat(NumberFormat newNumberFormat) in setNumberFormat() argument
1600 numberFormat = (NumberFormat)newNumberFormat.clone(); in setNumberFormat()
DSimpleDateFormat.java2254 public void setNumberFormat(NumberFormat newNumberFormat) { in setNumberFormat() argument
2256 super.setNumberFormat(newNumberFormat); in setNumberFormat()