Home
last modified time | relevance | path

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

/external/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.cpp838 + dateToString(startTime)); in TestVTimeZoneRoundTrip()
907 *tzid + " into VTIMEZONE format since " + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
913 + " since " + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
928 + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
1002 *tzid + " into VTIMEZONE format at " + dateToString(time)); in TestVTimeZoneSimpleWrite()
1008 + " at " + dateToString(time)); in TestVTimeZoneSimpleWrite()
1018 + dateToString(time) + " failed to the round trip."); in TestVTimeZoneSimpleWrite()
2362 + icutz.getID(tzid) + " at " + dateToString(time)); in verifyTransitions()
2368 + dateToString(time) + " for " + icutz.getID(tzid)); in verifyTransitions()
2395 + 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.cpp205 " = " + dateToString(marchOne)); in TestRuleAPI()
207 " = " + dateToString(expMarchOne)); in TestRuleAPI()
214 " = " + dateToString(julyOne)); in TestRuleAPI()
216 " = " + dateToString(expJulyOne)); in TestRuleAPI()
247 …logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"T… in findTransition()
248 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition()
264 dateToString(min,s,tz)); in findTransition()
266 dateToString(max,s,tz)); in findTransition()
278 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch()
291 …logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min)); in testUsingBinarySearch()
[all …]
Ddtfmttst.cpp710 if (expected != null) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in tryPat994()
716 logln(UnicodeString(" parse(") + str + ") -> " + dateToString(date)); in tryPat994()
810 logln((UnicodeString)"Parsed object: " + dateToString(o.getDate())); in testIt917()
811 … if (!(o.getDate() == expected)) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in testIt917()
886 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); in TestLetterDPattern212()
892 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); in TestLetterDPattern212()
893 …if (myDate != expLittleD) errln((UnicodeString)"FAIL: littleD - Expected " + dateToString(expLittl… in TestLetterDPattern212()
910 logln((UnicodeString)"Test Date: " + dateToString(today)); in TestDayOfYearPattern195()
935 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
936 if (d2 != expected) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in tryPattern()
[all …]
Dcaltest.cpp768 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768()
775 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768()
903 logln("PASS: " + msg + dateToString(c->getTime(status), str)); in verify765()
907 …errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/"… in verify765()
949 logln("date = " + dateToString(date, str)); in test4064654()
961 logln("offset for " + dateToString(date, str) + "= " + (offset / 1000 / 60 / 60.0) + "hr"); in test4064654()
1004 dateToString(cal->getTime(status), s); in TestAddSetOrder621()
1034 dateToString(cal->getTime(status), s2); in TestAddSetOrder621()
1307 dateToString(d, s); in TestSecondsZero121()
1444 logln("Warning: Skipping test because " + dateToString(d, str) + " is in DST."); in TestEpochStartFields()
[all …]
Ddtfmrgts.cpp730 logln(dateToString(d) + " => " + buf); in Test4101483()
758 s = dateToString(d, s); in Test4103340()
1024 logln(dateToString(d)); in Test4134203()
/external/autotest/client/site_tests/power_LoadTest/extension/
Dtest.js28 record_log_entry(dateToString(new Date()) + " Loop started");
55 record_log_entry(dateToString(new Date()) + " [load success] " + url);
99 record_log_entry(dateToString(new Date()) + " [load start] " + url)
120 var error_report = dateToString(new Date()) + " [load failure details] "
126 dateToString(report.time) + " | " +
139 record_log_entry(dateToString(new Date()) + " [load failure] " +
Dtime.js17 function dateToString(date) { function
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DMarshalDate.java41 writer.text(IsoDate.dateToString((Date) obj, IsoDate.DATE_TIME)); in writeInstance()
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
DIsoDate.java36 public static String dateToString(Date date, int type) { in dateToString() method in IsoDate