Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfTest.java113 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local
114 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone(); in TestCoverage()
116 if (!fmt0.equals(fmt0)) { in TestCoverage()
119 if (!fmt0.equals(fmt1)) { in TestCoverage()
122 if (!fmt0.equals(fmt2)) { in TestCoverage()
125 String str = fmt0.toString(); in TestCoverage()
130 if (fmt0.equals(fmt3)) { in TestCoverage()
DDateFormatRegressionTest.java1495 SimpleDateFormat fmt0 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in TestT11363() local
1504 fmt0.format(cal.getTime()); in TestT11363()
1516 SimpleDateFormat fmt = (SimpleDateFormat)fmt0.clone(); in TestT11363()
DDateFormatTest.java4779 DateFormat fmt0 = DateFormat.getDateTimeInstance(dateStylesList[i], DateFormat.DEFAULT); in Test10632() local
4783 String s0 = fmt0.format(testDates[j]); in Test10632()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfTest.java112 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT); in TestCoverage() local
113 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone(); in TestCoverage()
115 if (!fmt0.equals(fmt0)) { in TestCoverage()
118 if (!fmt0.equals(fmt1)) { in TestCoverage()
121 if (!fmt0.equals(fmt2)) { in TestCoverage()
124 String str = fmt0.toString(); in TestCoverage()
129 if (fmt0.equals(fmt3)) { in TestCoverage()
DDateFormatRegressionTest.java1494 SimpleDateFormat fmt0 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); in TestT11363() local
1503 fmt0.format(cal.getTime()); in TestT11363()
1515 SimpleDateFormat fmt = (SimpleDateFormat)fmt0.clone(); in TestT11363()
DDateFormatTest.java4778 DateFormat fmt0 = DateFormat.getDateTimeInstance(dateStylesList[i], DateFormat.DEFAULT); in Test10632() local
4782 String s0 = fmt0.format(testDates[j]); in Test10632()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp886 DateFormat *fmt0 = DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull); in simpleTest() local
902 …logln( "wanted " + escape(fmt0->format(expectDate,tmp.remove())) + " but got " + escape(fmt0->form… in simpleTest()
908 delete fmt0; in simpleTest()