Lines Matching refs:SimpleDateFormat

203         SimpleDateFormat date1(pattern, locale, errorCode);  in TestPatterns()
204 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns()
244 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel()
370SimpleDateFormat* fullFmt = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy … in TestTwoDigitYearDSTParse()
371SimpleDateFormat *fmt = new SimpleDateFormat((UnicodeString)"dd-MMM-yy h:mm:ss 'o''clock' a z", Lo… in TestTwoDigitYearDSTParse()
522 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
529 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition()
585 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition()
666 SimpleDateFormat* f = new SimpleDateFormat(status); in TestPartialParse994()
685 DateFormatTest::tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expecte… in tryPat994()
732 SimpleDateFormat *formatter = new SimpleDateFormat(format, status); in TestRunTogetherPattern985()
761 SimpleDateFormat* fmt; in TestRunTogetherPattern917()
763 fmt = new SimpleDateFormat((UnicodeString)"yyyy/MM/dd", status); in TestRunTogetherPattern917()
772 fmt = new SimpleDateFormat((UnicodeString)"yyyyMMdd", status); in TestRunTogetherPattern917()
782 DateFormatTest::testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected) in testIt917()
821 logln((UnicodeString)"Pattern " + ((SimpleDateFormat*) fmt)->toPattern(pattern)); in TestCzechMonths459()
863 SimpleDateFormat *formatter = new SimpleDateFormat(bigD, status); in TestLetterDPattern212()
874 formatter = new SimpleDateFormat(littleD, status); in TestLetterDPattern212()
897 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195()
911 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected) in tryPattern()
942SimpleDateFormat* formatter = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy 'at' hh:mm:ss a zzz"… in TestQuotePattern161()
1002 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestBadInput135()
1083 SimpleDateFormat* dateParse = new SimpleDateFormat(status); in TestBadInput135a()
1164 SimpleDateFormat fmt("dd/MM/yy", Locale::getUK(), ec); in TestTwoDigitYear()
1182 …logln(UnicodeString("Parsing \"") + str + "\" with " + ((SimpleDateFormat*)&fmt)->toPattern(thePat… in parse2DigitYear()
1205 formatter = new SimpleDateFormat((UnicodeString)"dd-MMM-yyyyy HH:mm", Locale::getUK(), status); in TestDateFormatZone061()
1279 DateFormat *fmt = new SimpleDateFormat(DATA[i+2], Locale::getEnglish(), status); in TestDateFormatZone146()
1553 SimpleDateFormat f(UnicodeString("Yesterday"), ec); in TestInvalidPattern()
1569 SimpleDateFormat fmt("EEEE, dd MMMM yyyy h:mm:ss a", Locale("el", "", ""), ec); in TestGreekMay()
1918 SimpleDateFormat fmt("", loc, ec); in expectParse()
1919 SimpleDateFormat ref(data[i++], loc, ec); in expectParse()
1920 SimpleDateFormat gotfmt("G yyyy MM dd HH:mm:ss z", loc, ec); in expectParse()
2002 SimpleDateFormat fmt("", loc, ec); in expect()
2003 SimpleDateFormat ref(data[i++], loc, ec); in expect()
2004 SimpleDateFormat univ("EE G yyyy MM dd HH:mm:ss.SSS z", loc, ec); in expect()
2106 SimpleDateFormat fmt("", loc, ec); in expectFormat()
2107 SimpleDateFormat ref(data[i++], loc, ec); in expectFormat()
2108 SimpleDateFormat univ("EE G yyyy MM dd HH:mm:ss.SSS z", loc, ec); in expectFormat()
2215 SimpleDateFormat formats[] = { in TestGenericTime()
2216 SimpleDateFormat(basepat + "vvv", en, status), in TestGenericTime()
2217 SimpleDateFormat(basepat + "vvvv", en, status), in TestGenericTime()
2218 SimpleDateFormat(basepat + "zzz", en, status), in TestGenericTime()
2219 SimpleDateFormat(basepat + "zzzz", en, status) in TestGenericTime()
2228 SimpleDateFormat univ("yyyy MM dd HH:mm zzz", en, status); in TestGenericTime()
2322 SimpleDateFormat univ("HH:mm Z", en, status); in TestZTimeZoneParsing()
2571 const SimpleDateFormat* dat = dynamic_cast<const SimpleDateFormat*>(&fmt); in getActualAndValidLocales()
3393 SimpleDateFormat testfmt(UnicodeString("yyyy-MM-dd'T'HH:mm:ss'Z'"), status); in TestTimeZoneDisplayName()
3414 SimpleDateFormat fmt(info[3], Locale(testLine[0]),status); in TestTimeZoneDisplayName()
3575 SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("ar"), status); in Test6338()
3599 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("y M d"), Locale("ar"), status); in Test6338()
3623 SimpleDateFormat *fmt3 = new SimpleDateFormat(UnicodeString("y-M-d"), Locale("en-us"), status); in Test6338()
3647 SimpleDateFormat *fmt4 = new SimpleDateFormat(UnicodeString("y M d"), Locale("en-us"), status); in Test6338()
3842 SimpleDateFormat *formatter = new SimpleDateFormat(itemPtr->datePattern, locale, status); in TestNumberAsStringParsing()
3887SimpleDateFormat *fmt1 = new SimpleDateFormat(UnicodeString("GGG yyyy-MM-dd'T'HH:mm:ss'Z"), status… in TestISOEra()
3925 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,override,Locale::getChina(),status); in TestFormalChineseDate()
3944 SimpleDateFormat *usf = new SimpleDateFormat(pat1,Locale::getEnglish(),status); in TestFormalChineseDate()
3958 SimpleDateFormat *sdf = new SimpleDateFormat("ZZZZ", Locale(""), status); in TestStandAloneGMTParse()
3996 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString(TestData[i][0]), status); in TestParsePosition()
4109 new SimpleDateFormat(customPatterns[-itemPtr->style - 1], locale, status); in TestMonthPatterns()
4199 SimpleDateFormat * sdmft = new SimpleDateFormat(itemPtr->pattern, locale, status); in TestContext()
4298 dfmt = new SimpleDateFormat(itemPtr->pattern, locale, status); in TestNonGregoFmtParse()
4406 static_cast<SimpleDateFormat &>(format).toPattern(pattern); in showParse()
4447 LocalPointer<SimpleDateFormat> sdmft; in TestDateFormatLeniency()
4453 …sdmft.adoptInsteadAndCheckErrorCode(new SimpleDateFormat(itemPtr->pattern, locale, status), status… in TestDateFormatLeniency()
4553 ((SimpleDateFormat*) sdmft)->applyPattern(itemPtr->pattern); in TestParseMultiPatternMatch()
4643 LocalPointer<SimpleDateFormat> fmt; in TestNumberFormatOverride()
4644 fmt.adoptInsteadAndCheckErrorCode(new SimpleDateFormat((UnicodeString)"MM d", status), status); in TestNumberFormatOverride()
4677 LocalPointer<SimpleDateFormat> fmt; in TestNumberFormatOverride()
4678 … fmt.adoptInsteadAndCheckErrorCode(new SimpleDateFormat((UnicodeString)"MM d", status), status); in TestNumberFormatOverride()