Lines Matching refs:SimpleDateFormat
193 SimpleDateFormat date1(pattern, locale, errorCode); in TestPatterns()
194 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns()
234 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel()
360 …SimpleDateFormat* fullFmt = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy … in TestTwoDigitYearDSTParse()
361 …SimpleDateFormat *fmt = new SimpleDateFormat((UnicodeString)"dd-MMM-yy h:mm:ss 'o''clock' a z", Lo… in TestTwoDigitYearDSTParse()
503 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
510 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
550 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition()
631 SimpleDateFormat* f = new SimpleDateFormat(status); in TestPartialParse994()
650 DateFormatTest::tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expecte… in tryPat994()
697 SimpleDateFormat *formatter = new SimpleDateFormat(format, status); in TestRunTogetherPattern985()
726 SimpleDateFormat* fmt; in TestRunTogetherPattern917()
728 fmt = new SimpleDateFormat((UnicodeString)"yyyy/MM/dd", status); in TestRunTogetherPattern917()
737 fmt = new SimpleDateFormat((UnicodeString)"yyyyMMdd", status); in TestRunTogetherPattern917()
747 DateFormatTest::testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected) in testIt917()
786 logln((UnicodeString)"Pattern " + ((SimpleDateFormat*) fmt)->toPattern(pattern)); in TestCzechMonths459()
828 SimpleDateFormat *formatter = new SimpleDateFormat(bigD, status); in TestLetterDPattern212()
839 formatter = new SimpleDateFormat(littleD, status); in TestLetterDPattern212()
862 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195()
876 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected) in tryPattern()
907 …SimpleDateFormat* formatter = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy 'at' hh:mm:ss a zzz"… in TestQuotePattern161()
967 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestBadInput135()
1048 SimpleDateFormat* dateParse = new SimpleDateFormat(status); in TestBadInput135a()
1129 SimpleDateFormat fmt("dd/MM/yy", Locale::getUK(), ec); in TestTwoDigitYear()
1147 …logln(UnicodeString("Parsing \"") + str + "\" with " + ((SimpleDateFormat*)&fmt)->toPattern(thePat… in parse2DigitYear()
1170 formatter = new SimpleDateFormat((UnicodeString)"dd-MMM-yyyyy HH:mm", Locale::getUK(), status); in TestDateFormatZone061()
1244 DateFormat *fmt = new SimpleDateFormat(DATA[i+2], Locale::getEnglish(), status); in TestDateFormatZone146()
1479 SimpleDateFormat f(UnicodeString("Yesterday"), ec); in TestInvalidPattern()
1495 SimpleDateFormat fmt("EEEE, dd MMMM yyyy h:mm:ss a", Locale("el", "", ""), ec); in TestGreekMay()
1821 SimpleDateFormat fmt("", loc, ec); in expectParse()
1822 SimpleDateFormat ref(data[i++], loc, ec); in expectParse()
1823 SimpleDateFormat gotfmt("G yyyy MM dd HH:mm:ss z", loc, ec); in expectParse()
1905 SimpleDateFormat fmt("", loc, ec); in expect()
1906 SimpleDateFormat ref(data[i++], loc, ec); in expect()
1907 SimpleDateFormat univ("EE G yyyy MM dd HH:mm:ss.SSS z", loc, ec); in expect()
2009 SimpleDateFormat fmt("", loc, ec); in expectFormat()
2010 SimpleDateFormat ref(data[i++], loc, ec); in expectFormat()
2011 SimpleDateFormat univ("EE G yyyy MM dd HH:mm:ss.SSS z", loc, ec); in expectFormat()
2118 SimpleDateFormat formats[] = { in TestGenericTime()
2119 SimpleDateFormat(basepat + "vvv", en, status), in TestGenericTime()
2120 SimpleDateFormat(basepat + "vvvv", en, status), in TestGenericTime()
2121 SimpleDateFormat(basepat + "zzz", en, status), in TestGenericTime()
2122 SimpleDateFormat(basepat + "zzzz", en, status) in TestGenericTime()
2131 SimpleDateFormat univ("yyyy MM dd HH:mm zzz", en, status); in TestGenericTime()
2225 SimpleDateFormat univ("HH:mm Z", en, status); in TestZTimeZoneParsing()
3224 SimpleDateFormat testfmt(UnicodeString("yyyy-MM-dd'T'HH:mm:ss'Z'"), status); in TestTimeZoneDisplayName()
3245 SimpleDateFormat fmt(info[3], Locale(testLine[0]),status); in TestTimeZoneDisplayName()
3406 SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("ar"), status); in Test6338()
3430 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("y M d"), Locale("ar"), status); in Test6338()
3454 SimpleDateFormat *fmt3 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("en-us"), status); in Test6338()
3478 SimpleDateFormat *fmt4 = new SimpleDateFormat(UnicodeString("y M d"), Locale("en-us"), status); in Test6338()
3673 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3718 …SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("GGG yyyy-MM-dd'T'HH:mm:ss'Z"), status… in TestISOEra()
3756 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,override,Locale::getChina(),status); in TestFormalChineseDate()
3773 SimpleDateFormat *usf = new SimpleDateFormat(pat1,Locale::getEnglish(),status); in TestFormalChineseDate()
3787 SimpleDateFormat *sdf = new SimpleDateFormat("ZZZZ", Locale(""), status); in TestStandAloneGMTParse()
3825 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString(TestData[i][0]), status); in TestParsePosition()
3938 new SimpleDateFormat(customPatterns[-itemPtr->style - 1], locale, status); in TestMonthPatterns()
4028 SimpleDateFormat * sdmft = new SimpleDateFormat(itemPtr->pattern, locale, status); in TestContext()
4127 dfmt = new SimpleDateFormat(itemPtr->pattern, locale, status); in TestNonGregoFmtParse()
4235 static_cast<SimpleDateFormat &>(format).toPattern(pattern); in showParse()
4276 LocalPointer<SimpleDateFormat> sdmft; in TestDateFormatLeniency()
4282 sdmft.adoptInstead(new SimpleDateFormat(itemPtr->pattern, locale, status)); in TestDateFormatLeniency()
4383 ((SimpleDateFormat*) sdmft)->applyPattern(itemPtr->pattern); in TestParseMultiPatternMatch()