Searched refs:sdfmt (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 1287 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10239() local 1291 sdfmt.setCalendar(cal); in TestT10239() 1292 sdfmt.applyPattern(item.pattern); in TestT10239() 1296 d = sdfmt.parse(item.parseString, p); in TestT10239() 1308 result = sdfmt.format(cal, result, new FieldPosition(0)); in TestT10239() 1422 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10619() local 1426 sdfmt.setCalendar(cal); in TestT10619() 1427 sdfmt.applyPattern(item.pattern); in TestT10619() 1428 sdfmt.setLenient(item.leniency); in TestT10619() 1432 d = sdfmt.parse(item.parseString, p); in TestT10619() [all …]
|
D | DateFormatTest.java | 2416 DateFormat sdfmt = new SimpleDateFormat(); in TestCoverage() local 2427 if (f.equals(sdfmt)) { in TestCoverage() 4432 … SimpleDateFormat sdfmt = (SimpleDateFormat) DateFormat.getDateInstance(item.style, locale); in TestFormatsWithNumberSystems() local 4435 sdfmt.format(cal, getFormat, fp); in TestFormatsWithNumberSystems() 4439 String getPattern = sdfmt.toPattern(); in TestFormatsWithNumberSystems() 4531 SimpleDateFormat sdfmt = new SimpleDateFormat(item.pattern, locale); in TestContext() local 4534 sdfmt.setContext(item.capitalizationContext); in TestContext() 4535 SimpleDateFormat sdfmtClone = (SimpleDateFormat)sdfmt.clone(); in TestContext() 4536 if (!sdfmtClone.equals(sdfmt)) { in TestContext() 4543 sdfmt.format(cal, result2, fpos2); in TestContext() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 1290 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10239() local 1294 sdfmt.setCalendar(cal); in TestT10239() 1295 sdfmt.applyPattern(item.pattern); in TestT10239() 1299 d = sdfmt.parse(item.parseString, p); in TestT10239() 1311 result = sdfmt.format(cal, result, new FieldPosition(0)); in TestT10239() 1425 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10619() local 1429 sdfmt.setCalendar(cal); in TestT10619() 1430 sdfmt.applyPattern(item.pattern); in TestT10619() 1431 sdfmt.setLenient(item.leniency); in TestT10619() 1435 d = sdfmt.parse(item.parseString, p); in TestT10619() [all …]
|
D | DateFormatTest.java | 2419 DateFormat sdfmt = new SimpleDateFormat(); in TestCoverage() local 2430 if (f.equals(sdfmt)) { in TestCoverage() 4435 … SimpleDateFormat sdfmt = (SimpleDateFormat) DateFormat.getDateInstance(item.style, locale); in TestFormatsWithNumberSystems() local 4438 sdfmt.format(cal, getFormat, fp); in TestFormatsWithNumberSystems() 4442 String getPattern = sdfmt.toPattern(); in TestFormatsWithNumberSystems() 4534 SimpleDateFormat sdfmt = new SimpleDateFormat(item.pattern, locale); in TestContext() local 4537 sdfmt.setContext(item.capitalizationContext); in TestContext() 4538 SimpleDateFormat sdfmtClone = (SimpleDateFormat)sdfmt.clone(); in TestContext() 4539 if (!sdfmtClone.equals(sdfmt)) { in TestContext() 4546 sdfmt.format(cal, result2, fpos2); in TestContext() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4402 …LocalPointer<SimpleDateFormat> sdfmt(static_cast<SimpleDateFormat *>(DateFormat::createDateInstanc… in TestFormatsWithNumberSystems() local 4403 if (sdfmt.isNull()) { in TestFormatsWithNumberSystems() 4408 sdfmt->format(*(cal.getAlias()), getFormat, NULL, status); in TestFormatsWithNumberSystems() 4419 sdfmt->toPattern(getPattern); in TestFormatsWithNumberSystems()
|