Searched defs:decfmt (Results 1 - 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTest.java3179 private final DecimalFormat decfmt; field in class:NumberFormatTest.ParseThreadJB5358
3184 public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { argument
3185 this.decfmt = decfmt;
3195 Number n = decfmt.parse(numstr);
4346 DecimalFormat decfmt = new DecimalFormat("\u00A4#,##0.00;\u00A4#,##0.00", decfmtsym);
4347 String currFmtResult = decfmt.format(-100.0);
4349 errln("decfmt.toPattern results wrong, expected \u200B$100.00, got " + currFmtResult);
/external/icu/icu4c/source/i18n/
H A Dmeasfmt.cpp501 DecimalFormat *decfmt = dynamic_cast<DecimalFormat *>(inf); local
502 if (decfmt != NULL) {
503 decfmt->setRoundingMode(DecimalFormat::kRoundDown);
H A Dmsgfmt.cpp1704 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fmt); local
1705 if (decfmt != NULL) {
1706 decfmt->applyPattern(style,parseError,ec);
H A Dsmpdtfmt.cpp249 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(&nf); local
250 if (decfmt != NULL) {
251 decfmt->setDecimalSeparatorAlwaysShown(FALSE);
3678 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); local
3679 if (decfmt != NULL) {
3681 suf = decfmt->getNegativeSuffix(suf);
3684 suf = decfmt->getPositiveSuffix(suf);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java3175 private final DecimalFormat decfmt; field in class:NumberFormatTest.ParseThreadJB5358
3180 public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { argument
3181 this.decfmt = decfmt;
3191 Number n = decfmt.parse(numstr);
4342 DecimalFormat decfmt = new DecimalFormat("\u00A4#,##0.00;\u00A4#,##0.00", decfmtsym);
4343 String currFmtResult = decfmt.format(-100.0);
4345 errln("decfmt.toPattern results wrong, expected \u200B$100.00, got " + currFmtResult);

Completed in 853 milliseconds