Home
last modified time | relevance | path

Searched refs:dfFoo (Results 1 – 2 of 2) 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/icu4c/source/test/intltest/
Dnumrgts.cpp787 DecimalFormat *dfFoo = new DecimalFormat(UnicodeString("000"), status); in Test4092480() local
790 delete dfFoo; in Test4092480()
796 dfFoo->applyPattern("0000;-000", status); in Test4092480()
799 if (dfFoo->toPattern(temp) != UnicodeString("#0000")) in Test4092480()
800 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
802 logln(dfFoo->format((int32_t)42, temp, pos)); in Test4092480()
803 logln(dfFoo->format((int32_t)-42, temp, pos)); in Test4092480()
804 dfFoo->applyPattern("000;-000", status); in Test4092480()
806 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480()
807 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
[all …]