/external/icu/icu4c/source/test/cintltst/ |
D | cdtrgtst.c | 208 UChar *myDate; in Test4059917() local 223 myDate=(UChar*)malloc(sizeof(UChar) * 11); in Test4059917() 224 u_uastrcpy(myDate, "1970/01/12"); in Test4059917() 226 aux917( def, myDate ); in Test4059917() 236 u_uastrcpy(myDate, "19700112"); in Test4059917() 237 aux917( def, myDate ); in Test4059917() 239 free(myDate); in Test4059917() 281 UDate myDate; in Test4060212() local 293 myDate = udat_parse(formatter, dateString, u_strlen(dateString), &pos, &status); in Test4060212() 303 myString = myFormatit(fmt, myDate); in Test4060212() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 294 UnicodeString myDate; in Test4059917() local 298 myDate = "1997/01/01"; in Test4059917() 299 aux917( &fmt, myDate ); in Test4059917() 303 myDate = "19970101"; in Test4059917() 304 aux917(&fmt2, myDate ); in Test4059917() 350 UDate myDate = formatter.parse( dateString, pos ); in Test4060212() local 359 myString = fmt->format( myDate, myString); in Test4060212() 364 cal->setTime(myDate, status); in Test4060212() 376 myDate = formatter2.parse( dateString, pos ); in Test4060212() 377 myString = fmt->format( myDate, myString ); in Test4060212() [all …]
|
D | dtfmttst.cpp | 778 UnicodeString myDate; in TestRunTogetherPattern917() local 785 myDate = "1997/02/03"; in TestRunTogetherPattern917() 786 testIt917(fmt, myDate, date(97, 2 - 1, 3)); in TestRunTogetherPattern917() 789 myDate = "19970304"; in TestRunTogetherPattern917() 790 testIt917(fmt, myDate, date(97, 3 - 1, 4)); in TestRunTogetherPattern917() 886 UDate myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() local 887 logln((UnicodeString)"Using " + bigD + " -> " + myDate); in TestLetterDPattern212() 888 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); in TestLetterDPattern212() 893 myDate = formatter->parse(dateString, pos); in TestLetterDPattern212() 894 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); in TestLetterDPattern212() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 224 String myDate; in Test4059917() local 226 myDate = "1997/01/01"; in Test4059917() 227 aux917( fmt, myDate ); in Test4059917() 229 myDate = "19970101"; in Test4059917() 230 aux917( fmt, myDate ); in Test4059917() 261 Date myDate = formatter.parse(dateString, pos); in Test4060212() local 263 String myString = fmt.format(myDate); in Test4060212() 266 cal.setTime(myDate); in Test4060212() 273 myDate = formatter.parse(dateString, pos); in Test4060212() 274 myString = fmt.format(myDate); in Test4060212() [all …]
|
D | DateFormatTest.java | 1724 String myDate; in TestRunTogetherPattern917() local 1726 myDate = "1997/02/03"; in TestRunTogetherPattern917() 1730 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917() 1732 myDate = "19970304"; in TestRunTogetherPattern917() 1735 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917() 1818 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() local 1819 logln("Using " + bigD + " . " + myDate); in TestLetterDPattern212() 1820 if (!myDate.equals(expBigD)) in TestLetterDPattern212() 1824 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1825 logln("Using " + littleD + " . " + myDate); in TestLetterDPattern212() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTest.java | 221 String myDate; in Test4059917() local 223 myDate = "1997/01/01"; in Test4059917() 224 aux917( fmt, myDate ); in Test4059917() 226 myDate = "19970101"; in Test4059917() 227 aux917( fmt, myDate ); in Test4059917() 258 Date myDate = formatter.parse(dateString, pos); in Test4060212() local 260 String myString = fmt.format(myDate); in Test4060212() 263 cal.setTime(myDate); in Test4060212() 270 myDate = formatter.parse(dateString, pos); in Test4060212() 271 myString = fmt.format(myDate); in Test4060212() [all …]
|
D | DateFormatTest.java | 1721 String myDate; in TestRunTogetherPattern917() local 1723 myDate = "1997/02/03"; in TestRunTogetherPattern917() 1727 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917() 1729 myDate = "19970304"; in TestRunTogetherPattern917() 1732 _testIt917(fmt, myDate, cal.getTime()); in TestRunTogetherPattern917() 1815 Date myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() local 1816 logln("Using " + bigD + " . " + myDate); in TestLetterDPattern212() 1817 if (!myDate.equals(expBigD)) in TestLetterDPattern212() 1821 myDate = formatter.parse(dateString, pos); in TestLetterDPattern212() 1822 logln("Using " + littleD + " . " + myDate); in TestLetterDPattern212() [all …]
|