Home
last modified time | relevance | path

Searched refs:fmt0 (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfTest.java120 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local
121 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone(); in TestCoverage()
123 if (!fmt0.equals(fmt0)) { in TestCoverage()
126 if (!fmt0.equals(fmt1)) { in TestCoverage()
129 if (!fmt0.equals(fmt2)) { in TestCoverage()
132 String str = fmt0.toString(); in TestCoverage()
137 if (fmt0.equals(fmt3)) { in TestCoverage()
DDateFormatRegressionTest.java1458 SimpleDateFormat fmt0 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in TestT11363() local
1467 fmt0.format(cal.getTime()); in TestT11363()
1479 SimpleDateFormat fmt = (SimpleDateFormat)fmt0.clone(); in TestT11363()
DDateFormatTest.java4668 DateFormat fmt0 = DateFormat.getDateTimeInstance(dateStylesList[i], DateFormat.DEFAULT); in Test10632() local
4672 String s0 = fmt0.format(testDates[j]); in Test10632()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfTest.java124 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local
125 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone(); in TestCoverage()
127 if (!fmt0.equals(fmt0)) { in TestCoverage()
130 if (!fmt0.equals(fmt1)) { in TestCoverage()
133 if (!fmt0.equals(fmt2)) { in TestCoverage()
136 String str = fmt0.toString(); in TestCoverage()
141 if (fmt0.equals(fmt3)) { in TestCoverage()
DDateFormatRegressionTest.java1462 SimpleDateFormat fmt0 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in TestT11363() local
1471 fmt0.format(cal.getTime()); in TestT11363()
1483 SimpleDateFormat fmt = (SimpleDateFormat)fmt0.clone(); in TestT11363()
DDateFormatTest.java4672 DateFormat fmt0 = DateFormat.getDateTimeInstance(dateStylesList[i], DateFormat.DEFAULT); in Test10632() local
4676 String s0 = fmt0.format(testDates[j]); in Test10632()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp884 DateFormat *fmt0 = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull); in simpleTest() local
900 …logln( "wanted " + escape(fmt0->format(expectDate,tmp.remove())) + " but got " + escape(fmt0->form… in simpleTest()
906 delete fmt0; in simpleTest()