Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp274 NumberFormat* numberFmt = NumberFormat::createInstance( in testAPI() local
277 tmf_en->setNumberFormat(*numberFmt, status); in testAPI()
293 format->setNumberFormat(*numberFmt, status); in testAPI()
295 delete numberFmt; in testAPI()
445 NumberFormat* numberFmt = NumberFormat::createInstance(Locale("el"), status); in testGreekWithSanitization() local
447 numberFmt->setMaximumFractionDigits(1); in testGreekWithSanitization()
452 timeUnitFormat->setNumberFormat(*numberFmt, status); in testGreekWithSanitization()
454 delete numberFmt; in testGreekWithSanitization()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java65 NumberFormat numberFmt = NumberFormat.getInstance(ULocale.getDefault()); in TestConstructor() local
67 String result = numberFmt.format(n); in TestConstructor()
78 String result = numberFmt.format(n*n); in TestConstructor()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatUnitTest.java69 NumberFormat numberFmt = NumberFormat.getInstance(ULocale.getDefault()); in TestConstructor() local
71 String result = numberFmt.format(n); in TestConstructor()
82 String result = numberFmt.format(n*n); in TestConstructor()