Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcdtrgtst.c207 UChar *myDate; in Test4059917() local
222 myDate=(UChar*)malloc(sizeof(UChar) * 11); in Test4059917()
223 u_uastrcpy(myDate, "1970/01/12"); in Test4059917()
225 aux917( def, myDate ); in Test4059917()
235 u_uastrcpy(myDate, "19700112"); in Test4059917()
236 aux917( def, myDate ); in Test4059917()
238 free(myDate); in Test4059917()
280 UDate myDate; in Test4060212() local
292 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212()
302 myString = myFormatit(fmt, myDate); in Test4060212()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp292 UnicodeString myDate; in Test4059917() local
296 myDate = "1997/01/01"; in Test4059917()
297 aux917( fmt, myDate ); in Test4059917()
304 myDate = "19970101"; in Test4059917()
305 aux917( fmt, myDate ); in Test4059917()
353 UDate myDate = formatter->parse( dateString, pos ); in Test4060212() local
363 myString = fmt->format( myDate, myString); in Test4060212()
368 cal->setTime(myDate, status); in Test4060212()
382 myDate = formatter->parse( dateString, pos ); in Test4060212()
383 myString = fmt->format( myDate, myString ); in Test4060212()
[all …]
Ddtfmttst.cpp775 UnicodeString myDate; in TestRunTogetherPattern917() local
782 myDate = "1997/02/03"; in TestRunTogetherPattern917()
783 testIt917(fmt, myDate, date(97, 2 - 1, 3)); in TestRunTogetherPattern917()
786 myDate = "19970304"; in TestRunTogetherPattern917()
787 testIt917(fmt, myDate, date(97, 3 - 1, 4)); in TestRunTogetherPattern917()
883 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() local
884 logln((UnicodeString)"Using " + bigD + " -> " + myDate); in TestLetterDPattern212()
885 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); in TestLetterDPattern212()
890 myDate = formatter->parse(dateString, pos); in TestLetterDPattern212()
891 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); in TestLetterDPattern212()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java217 String myDate; in Test4059917() local
219 myDate = "1997/01/01"; in Test4059917()
220 aux917( fmt, myDate ); in Test4059917()
222 myDate = "19970101"; in Test4059917()
223 aux917( fmt, myDate ); in Test4059917()
254 Date myDate = formatter.parse(dateString, pos); in Test4060212() local
256 String myString = fmt.format(myDate); in Test4060212()
259 cal.setTime(myDate); in Test4060212()
266 myDate = formatter.parse(dateString, pos); in Test4060212()
267 myString = fmt.format(myDate); in Test4060212()
[all …]
DDateFormatTest.java1629 String myDate; in TestRunTogetherPattern917() local
1631 myDate = "1997/02/03"; in TestRunTogetherPattern917()
1635 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917()
1637 myDate = "19970304"; in TestRunTogetherPattern917()
1640 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917()
1723 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() local
1724 logln("Using " + bigD + " . " + myDate); in TestLetterDPattern212()
1725 if (!myDate.equals(expBigD)) in TestLetterDPattern212()
1729 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1730 logln("Using " + littleD + " . " + myDate); in TestLetterDPattern212()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java218 String myDate; in Test4059917() local
220 myDate = "1997/01/01"; in Test4059917()
221 aux917( fmt, myDate ); in Test4059917()
223 myDate = "19970101"; in Test4059917()
224 aux917( fmt, myDate ); in Test4059917()
255 Date myDate = formatter.parse(dateString, pos); in Test4060212() local
257 String myString = fmt.format(myDate); in Test4060212()
260 cal.setTime(myDate); in Test4060212()
267 myDate = formatter.parse(dateString, pos); in Test4060212()
268 myString = fmt.format(myDate); in Test4060212()
[all …]
DDateFormatTest.java1630 String myDate; in TestRunTogetherPattern917() local
1632 myDate = "1997/02/03"; in TestRunTogetherPattern917()
1636 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917()
1638 myDate = "19970304"; in TestRunTogetherPattern917()
1641 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917()
1724 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() local
1725 logln("Using " + bigD + " . " + myDate); in TestLetterDPattern212()
1726 if (!myDate.equals(expBigD)) in TestLetterDPattern212()
1730 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212()
1731 logln("Using " + littleD + " . " + myDate); in TestLetterDPattern212()
[all …]