Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Dcaltztst.h36 UnicodeString dateToString(UDate d);
37 UnicodeString& dateToString(UDate d, UnicodeString& str);
38 UnicodeString& dateToString(UDate d, UnicodeString& str, const TimeZone& z);
Dcaltztst.cpp140 CalendarTimeZoneTest::dateToString(UDate d) in dateToString() function in CalendarTimeZoneTest
143 return dateToString(d, str); in dateToString()
147 CalendarTimeZoneTest::dateToString(UDate d, UnicodeString& str) in dateToString() function in CalendarTimeZoneTest
162 CalendarTimeZoneTest::dateToString(UDate d, UnicodeString& str, in dateToString() function in CalendarTimeZoneTest
Dtzrulets.cpp834 + dateToString(startTime)); in TestVTimeZoneRoundTrip()
903 *tzid + " into VTIMEZONE format since " + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
909 + " since " + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
924 + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
998 *tzid + " into VTIMEZONE format at " + dateToString(time)); in TestVTimeZoneSimpleWrite()
1004 + " at " + dateToString(time)); in TestVTimeZoneSimpleWrite()
1014 + dateToString(time) + " failed to the round trip."); in TestVTimeZoneSimpleWrite()
2358 + icutz.getID(tzid) + " at " + dateToString(time)); in verifyTransitions()
2364 + dateToString(time) + " for " + icutz.getID(tzid)); in verifyTransitions()
2391 + icutz.getID(tzid) + " at " + dateToString(time)); in verifyTransitions()
[all …]
Dtzbdtest.cpp79 if (dateToString(d, str).indexOf(startMode) == - 1) { in findDaylightBoundaryUsingDate()
86 UnicodeString* s = &dateToString(mid, str); in findDaylightBoundaryUsingDate()
125 …dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(d) + ") != " + (startsInDS… in findDaylightBoundaryUsingTimeZone()
130 …dataerrln("FAIL: " + tz->getID(str) + " inDaylightTime(" + dateToString(max) + ") != " + (startsIn… in findDaylightBoundaryUsingTimeZone()
173 " \"" + dateToString(d) + "\" = " + uprv_floor(d+0.5); in showDate()
195 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str)); in verifyDST()
392 … errln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"true":"false")); in testUsingBinarySearch()
Dtztest.cpp212 " = " + dateToString(marchOne)); in TestRuleAPI()
214 " = " + dateToString(expMarchOne)); in TestRuleAPI()
221 " = " + dateToString(julyOne)); in TestRuleAPI()
223 " = " + dateToString(expJulyOne)); in TestRuleAPI()
254 …logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"t… in findTransition()
255 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"true":"false")); in findTransition()
271 dateToString(min,s,tz)); in findTransition()
273 dateToString(max,s,tz)); in findTransition()
285 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"true":"false")); in testUsingBinarySearch()
298 …logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min)); in testUsingBinarySearch()
[all …]
Ddtfmttst.cpp713 if (expected != null) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in tryPat994()
719 logln(UnicodeString(" parse(") + str + ") -> " + dateToString(date)); in tryPat994()
813 logln((UnicodeString)"Parsed object: " + dateToString(o.getDate())); in testIt917()
814 … if (!(o.getDate() == expected)) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in testIt917()
889 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); in TestLetterDPattern212()
895 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); in TestLetterDPattern212()
896 …if (myDate != expLittleD) errln((UnicodeString)"FAIL: littleD - Expected " + dateToString(expLittl… in TestLetterDPattern212()
913 logln((UnicodeString)"Test Date: " + dateToString(today)); in TestDayOfYearPattern195()
938 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
939 if (d2 != expected) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in tryPattern()
[all …]
Dcaltest.cpp785 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768()
792 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768()
920 logln("PASS: " + msg + dateToString(c->getTime(status), str)); in verify765()
924 …errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/"… in verify765()
966 logln("date = " + dateToString(date, str)); in test4064654()
978 logln("offset for " + dateToString(date, str) + "= " + (offset / 1000 / 60 / 60.0) + "hr"); in test4064654()
1021 dateToString(cal->getTime(status), s); in TestAddSetOrder621()
1051 dateToString(cal->getTime(status), s2); in TestAddSetOrder621()
1328 dateToString(d, s); in TestSecondsZero121()
1465 logln("Warning: Skipping test because " + dateToString(d, str) + " is in DST."); in TestEpochStartFields()
[all …]
Ddtfmrgts.cpp719 logln(dateToString(d) + " => " + buf); in Test4101483()
745 s = dateToString(d, s); in Test4103340()
1003 logln(dateToString(d)); in Test4134203()