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 | 1285 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10239() local 1289 sdfmt.setCalendar(cal); in TestT10239() 1290 sdfmt.applyPattern(item.pattern); in TestT10239() 1294 d = sdfmt.parse(item.parseString, p); in TestT10239() 1306 result = sdfmt.format(cal, result, new FieldPosition(0)); in TestT10239() 1420 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10619() local 1424 sdfmt.setCalendar(cal); in TestT10619() 1425 sdfmt.applyPattern(item.pattern); in TestT10619() 1426 sdfmt.setLenient(item.leniency); in TestT10619() 1430 d = sdfmt.parse(item.parseString, p); in TestT10619() [all …]
|
D | DateFormatTest.java | 2412 DateFormat sdfmt = new SimpleDateFormat(); in TestCoverage() local 2423 if (f.equals(sdfmt)) { in TestCoverage() 4427 … SimpleDateFormat sdfmt = (SimpleDateFormat) DateFormat.getDateInstance(item.style, locale); in TestFormatsWithNumberSystems() local 4430 sdfmt.format(cal, getFormat, fp); in TestFormatsWithNumberSystems() 4434 String getPattern = sdfmt.toPattern(); in TestFormatsWithNumberSystems() 4526 SimpleDateFormat sdfmt = new SimpleDateFormat(item.pattern, locale); in TestContext() local 4529 sdfmt.setContext(item.capitalizationContext); in TestContext() 4530 SimpleDateFormat sdfmtClone = (SimpleDateFormat)sdfmt.clone(); in TestContext() 4531 if (!sdfmtClone.equals(sdfmt)) { in TestContext() 4538 sdfmt.format(cal, result2, fpos2); in TestContext() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 1286 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10239() local 1290 sdfmt.setCalendar(cal); in TestT10239() 1291 sdfmt.applyPattern(item.pattern); in TestT10239() 1295 d = sdfmt.parse(item.parseString, p); in TestT10239() 1307 result = sdfmt.format(cal, result, new FieldPosition(0)); in TestT10239() 1421 SimpleDateFormat sdfmt = new SimpleDateFormat(); in TestT10619() local 1425 sdfmt.setCalendar(cal); in TestT10619() 1426 sdfmt.applyPattern(item.pattern); in TestT10619() 1427 sdfmt.setLenient(item.leniency); in TestT10619() 1431 d = sdfmt.parse(item.parseString, p); in TestT10619() [all …]
|
D | DateFormatTest.java | 2413 DateFormat sdfmt = new SimpleDateFormat(); in TestCoverage() local 2424 if (f.equals(sdfmt)) { in TestCoverage() 4428 … SimpleDateFormat sdfmt = (SimpleDateFormat) DateFormat.getDateInstance(item.style, locale); in TestFormatsWithNumberSystems() local 4431 sdfmt.format(cal, getFormat, fp); in TestFormatsWithNumberSystems() 4435 String getPattern = sdfmt.toPattern(); in TestFormatsWithNumberSystems() 4527 SimpleDateFormat sdfmt = new SimpleDateFormat(item.pattern, locale); in TestContext() local 4530 sdfmt.setContext(item.capitalizationContext); in TestContext() 4531 SimpleDateFormat sdfmtClone = (SimpleDateFormat)sdfmt.clone(); in TestContext() 4532 if (!sdfmtClone.equals(sdfmt)) { in TestContext() 4539 sdfmt.format(cal, result2, fpos2); in TestContext() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 4397 …LocalPointer<SimpleDateFormat> sdfmt(static_cast<SimpleDateFormat *>(DateFormat::createDateInstanc… in TestFormatsWithNumberSystems() local 4398 if (sdfmt.isNull()) { in TestFormatsWithNumberSystems() 4403 sdfmt->format(*(cal.getAlias()), getFormat, NULL, status); in TestFormatsWithNumberSystems() 4414 sdfmt->toPattern(getPattern); in TestFormatsWithNumberSystems()
|