Home
last modified time | relevance | path

Searched refs:fmtB (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp522 DateFormat *fmtB = DateFormat::createInstance(); in Test4071441() local
524 if (fmtA == NULL || fmtB == NULL){ in Test4071441()
527 delete fmtB; in Test4071441()
533 Calendar *calB = (Calendar*) fmtB->getCalendar(); in Test4071441()
537 delete fmtB; in Test4071441()
550 if (*fmtA != *fmtB) in Test4071441()
556 if (*fmtA != *fmtB) in Test4071441()
562 delete fmtB; in Test4071441()
Ddtfmttst.cpp355 DateFormat* fmtB = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::FULL); in TestEquals() local
356 if ( fmtA == NULL || fmtB == NULL){ in TestEquals()
359 delete fmtB; in TestEquals()
363 if (!(*fmtA == *fmtB)) errln((UnicodeString)"FAIL"); in TestEquals()
365 delete fmtB; in TestEquals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java377 DateFormat fmtB = DateFormat.getInstance(); in Test4071441() local
381 Calendar calB = fmtB.getCalendar(); in Test4071441()
388 if (!fmtA.equals(fmtB)) in Test4071441()
394 if (!fmtA.equals(fmtB)) in Test4071441()
DDateFormatTest.java293 DateFormat fmtB = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.FULL); in TestEquals() local
294 if (!fmtA.equals(fmtB)) in TestEquals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java374 DateFormat fmtB = DateFormat.getInstance(); in Test4071441() local
378 Calendar calB = fmtB.getCalendar(); in Test4071441()
385 if (!fmtA.equals(fmtB)) in Test4071441()
391 if (!fmtA.equals(fmtB)) in Test4071441()
DDateFormatTest.java290 DateFormat fmtB = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.FULL); in TestEquals() local
291 if (!fmtA.equals(fmtB)) in TestEquals()