Home
last modified time | relevance | path

Searched refs:dateToString (Results 1 – 13 of 13) 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
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()
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 …]
Dtztest.cpp206 " = " + dateToString(marchOne)); in TestRuleAPI()
208 " = " + dateToString(expMarchOne)); in TestRuleAPI()
215 " = " + dateToString(julyOne)); in TestRuleAPI()
217 " = " + dateToString(expJulyOne)); in TestRuleAPI()
248 …logln("Error: " + tz.getID(id) + ".inDaylightTime(" + dateToString(min) + ") = " + (startsInDST?"T… in findTransition()
249 ", inDaylightTime(" + dateToString(max) + ") = " + (startsInDST?"TRUE":"FALSE")); in findTransition()
265 dateToString(min,s,tz)); in findTransition()
267 dateToString(max,s,tz)); in findTransition()
279 … logln("Error: inDaylightTime(" + dateToString(max) + ") != " + ((!startsInDST)?"TRUE":"FALSE")); in testUsingBinarySearch()
292 …logln(UnicodeString("Binary Search Before: ") + uprv_floor(0.5 + min) + " = " + dateToString(min)); in testUsingBinarySearch()
[all …]
Ddtfmttst.cpp712 if (expected != null) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in tryPat994()
718 logln(UnicodeString(" parse(") + str + ") -> " + dateToString(date)); in tryPat994()
812 logln((UnicodeString)"Parsed object: " + dateToString(o.getDate())); in testIt917()
813 … if (!(o.getDate() == expected)) errln((UnicodeString)"FAIL: Expected " + dateToString(expected)); in testIt917()
888 if (myDate != expBigD) errln((UnicodeString)"FAIL: bigD - Expected " + dateToString(expBigD)); in TestLetterDPattern212()
894 logln((UnicodeString)"Using " + littleD + " -> " + dateToString(myDate)); in TestLetterDPattern212()
895 …if (myDate != expLittleD) errln((UnicodeString)"FAIL: littleD - Expected " + dateToString(expLittl… in TestLetterDPattern212()
912 logln((UnicodeString)"Test Date: " + dateToString(today)); in TestDayOfYearPattern195()
937 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
938 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()
/external/autotest/client/site_tests/power_LoadTest/extension/
Dtest.js31 record_log_entry(dateToString(new Date()) + " Loop started");
58 record_log_entry(dateToString(new Date()) + " [load success] " + url);
102 record_log_entry(dateToString(new Date()) + " [load start] " + url)
123 var error_report = dateToString(new Date()) + " [load failure details] "
129 dateToString(report.time) + " | " +
142 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
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DDateDeserializationTest.java104 String dateStr = dateToString(value); in testDateUtil()
485 String dateStr = dateToString(new Date(l)); in testCalendar()
822 private String dateToString(java.util.Date value) in dateToString() method in DateDeserializationTest