Home
last modified time | relevance | path

Searched refs:dfFoo (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberRegression.java404 DecimalFormat dfFoo = new DecimalFormat("000"); in Test4092480() local
407 dfFoo.applyPattern("0000;-000"); in Test4092480()
408 if (!dfFoo.toPattern().equals("#0000")) in Test4092480()
409 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
410 logln(dfFoo.format(42)); in Test4092480()
411 logln(dfFoo.format(-42)); in Test4092480()
412 dfFoo.applyPattern("000;-000"); in Test4092480()
413 if (!dfFoo.toPattern().equals("#000")) in Test4092480()
414 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
415 logln(dfFoo.format(42)); in Test4092480()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberRegression.java408 DecimalFormat dfFoo = new DecimalFormat("000"); in Test4092480() local
411 dfFoo.applyPattern("0000;-000"); in Test4092480()
412 if (!dfFoo.toPattern().equals("#0000")) in Test4092480()
413 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
414 logln(dfFoo.format(42)); in Test4092480()
415 logln(dfFoo.format(-42)); in Test4092480()
416 dfFoo.applyPattern("000;-000"); in Test4092480()
417 if (!dfFoo.toPattern().equals("#000")) in Test4092480()
418 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
419 logln(dfFoo.format(42)); in Test4092480()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp794 DecimalFormat *dfFoo = new DecimalFormat(UnicodeString("000"), status); in Test4092480() local
797 delete dfFoo; in Test4092480()
803 dfFoo->applyPattern("0000;-000", status); in Test4092480()
806 if (dfFoo->toPattern(temp) != UnicodeString("#0000")) in Test4092480()
807 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
809 logln(dfFoo->format((int32_t)42, temp, pos)); in Test4092480()
810 logln(dfFoo->format((int32_t)-42, temp, pos)); in Test4092480()
811 dfFoo->applyPattern("000;-000", status); in Test4092480()
813 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480()
814 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
[all …]