Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/
DTestCLDRVsICU.java431 int timeFormat = 0;
460 timeFormat = index;
468 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
475 "\n\tTime: " + DateFormatNames[timeFormat] +
483 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat, int timeFormat) {
491 dt = DateFormat.getTimeInstance(DateFormatValues[timeFormat], locale);
494 } else if (timeFormat == 0) {
499 … dt = DateFormat.getDateTimeInstance(DateFormatValues[dateFormat], DateFormatValues[timeFormat],
505 …logln("\tinput:\t" + dateFormat + ", " + timeFormat + " => " + ((SimpleDateFormat) dt).toPattern()…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
DTestCLDRVsICU.java430 int timeFormat = 0;
459 timeFormat = index;
467 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat);
474 "\n\tTime: " + DateFormatNames[timeFormat] +
482 private SimpleDateFormat getDateFormat(ULocale locale, int dateFormat, int timeFormat) {
490 dt = DateFormat.getTimeInstance(DateFormatValues[timeFormat], locale);
493 } else if (timeFormat == 0) {
498 … dt = DateFormat.getDateTimeInstance(DateFormatValues[dateFormat], DateFormatValues[timeFormat],
504 …logln("\tinput:\t" + dateFormat + ", " + timeFormat + " => " + ((SimpleDateFormat) dt).toPattern()…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1253 DateFormat timeFormat = DateFormat.getTimeInstance(DateFormat.MEDIUM); in testNumericFormatWithMap() local
1256 fmtMap.put("2", timeFormat); in testNumericFormatWithMap()
DDateFormatTest.java4647 DateFormat timeFormat = DateFormat.getTimeInstance(timeStyle, locale); in TestDotAndAtLeniency() local
4652 … formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTestMessageFormat.java1254 DateFormat timeFormat = DateFormat.getTimeInstance(DateFormat.MEDIUM); in testNumericFormatWithMap() local
1257 fmtMap.put("2", timeFormat); in testNumericFormatWithMap()
DDateFormatTest.java4648 DateFormat timeFormat = DateFormat.getTimeInstance(timeStyle, locale); in TestDotAndAtLeniency() local
4653 … formattedString = dateFormat.format(TEST_DATE) + " " + timeFormat.format(TEST_DATE); in TestDotAndAtLeniency()
/external/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp4439 … LocalPointer<DateFormat> timeFormat(DateFormat::createTimeInstance(timeStyle, locale)); in TestDotAndAtLeniency() local
4452 … formattedString = dateFormat->format(TEST_DATE, ds) + " " + timeFormat->format(TEST_DATE, ts); in TestDotAndAtLeniency()