Home
last modified time | relevance | path

Searched refs:simpleDateFormat (Results 1 – 8 of 8) sorted by relevance

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCollationStringByteConverter.java235 final SimpleDateFormat simpleDateFormat = new SimpleDateFormat( in check2() local
241 simpleDateFormat.setTimeZone(testTimeZone); in check2()
242 tests.add(simpleDateFormat); in check2()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTest.java724 SimpleDateFormat simpleDateFormat; in Test6510() local
726simpleDateFormat = new com.ibm.icu.text.SimpleDateFormat("MM/dd/yyyy G 'at' HH:mm:ss vvvv", Locale… in Test6510()
748 … errln("**PROBLEM Grego [MM/dd/y(G) HH:mm:ss] " + simpleDateFormat.format(gregorianCalendar)); in Test6510()
749 errln("Grego [MM/dd/y(G) HH:mm:ss] " + simpleDateFormat.format(gregorianCalendar)); in Test6510()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DChineseTest.java727 SimpleDateFormat simpleDateFormat; in Test6510() local
729simpleDateFormat = new android.icu.text.SimpleDateFormat("MM/dd/yyyy G 'at' HH:mm:ss vvvv", Locale… in Test6510()
751 … errln("**PROBLEM Grego [MM/dd/y(G) HH:mm:ss] " + simpleDateFormat.format(gregorianCalendar)); in Test6510()
752 errln("Grego [MM/dd/y(G) HH:mm:ss] " + simpleDateFormat.format(gregorianCalendar)); in Test6510()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c963 UDateFormat* simpleDateFormat = 0; in TestCalendarDateParse() local
979 simpleDateFormat = udat_open(UDAT_FULL, UDAT_FULL, "en-GB", 0, 0, 0, 0, &ec); in TestCalendarDateParse()
984 udat_applyPattern(simpleDateFormat, 0, pattern, u_strlen(pattern)); in TestCalendarDateParse()
985 udat_setLenient(simpleDateFormat, 0); in TestCalendarDateParse()
995 udat_set2DigitYearStart(simpleDateFormat, ucal_getMillis(tempCal, &ec), &ec); in TestCalendarDateParse()
1001 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
1016 udat_applyPattern(simpleDateFormat, 0, pattern2, u_strlen(pattern2)); in TestCalendarDateParse()
1017 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
1032 udat_close(simpleDateFormat); in TestCalendarDateParse()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java376 SimpleDateFormat simpleDateFormat) in DateIntervalFormat() argument
378 fDateFormat = simpleDateFormat; in DateIntervalFormat()
390 SimpleDateFormat simpleDateFormat) in DateIntervalFormat() argument
392 fDateFormat = simpleDateFormat; in DateIntervalFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java377 SimpleDateFormat simpleDateFormat) in DateIntervalFormat() argument
379 fDateFormat = simpleDateFormat; in DateIntervalFormat()
391 SimpleDateFormat simpleDateFormat) in DateIntervalFormat() argument
393 fDateFormat = simpleDateFormat; in DateIntervalFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4451 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYEEEww"); in TestTwoDigitWOY() local
4452 simpleDateFormat.set2DigitYearStart(new GregorianCalendar(1999,0,1).getTime()); in TestTwoDigitWOY()
4461 simpleDateFormat.parse(dateText, cal, pp); in TestTwoDigitWOY()
4467 simpleDateFormat.applyPattern("Y"); in TestTwoDigitWOY()
4469 String result = simpleDateFormat.format(cal.getTime()); in TestTwoDigitWOY()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java4454 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYEEEww"); in TestTwoDigitWOY() local
4455 simpleDateFormat.set2DigitYearStart(new GregorianCalendar(1999,0,1).getTime()); in TestTwoDigitWOY()
4464 simpleDateFormat.parse(dateText, cal, pp); in TestTwoDigitWOY()
4470 simpleDateFormat.applyPattern("Y"); in TestTwoDigitWOY()
4472 String result = simpleDateFormat.format(cal.getTime()); in TestTwoDigitWOY()