Home
last modified time | relevance | path

Searched refs:date1 (Results 1 – 10 of 10) sorted by relevance

/external/v8/test/mjsunit/
Ddate.js30 var date1 = new Date(date0); variable
32 assertEquals(date0.getTime(), date1.getTime());
38 var date1 = Date.parse("Dec 25, 1995 1:30");
41 assertEquals(date0, date1);
42 assertEquals(date1, date2);
/external/icu4c/test/cintltst/
Dcdtdptst.c199 UDate date1, date2; in TestRunTogetherPattern985() local
208 date1 = ucal_getNow(); in TestRunTogetherPattern985()
209 now=myDateFormat(format, date1); in TestRunTogetherPattern985()
216 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
Dccaltst.c1055 UDate date1; in TestDOWProgression() local
1084 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1086 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression()
1094 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1098 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression()
1127 UDate date1; in testZones() local
1158 date1 = ucal_getMillis(gmtcal, &status); in testZones()
1163 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones()
1166 ucal_setMillis(cal, date1, &status); in testZones()
/external/chromium/third_party/icu/source/test/cintltst/
Dcdtdptst.c199 UDate date1, date2; in TestRunTogetherPattern985() local
208 date1 = ucal_getNow(); in TestRunTogetherPattern985()
209 now=myDateFormat(format, date1); in TestRunTogetherPattern985()
216 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
Dccaltst.c1050 UDate date1; in TestDOWProgression() local
1079 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1081 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression()
1089 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1093 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression()
1122 UDate date1; in testZones() local
1153 date1 = ucal_getMillis(gmtcal, &status); in testZones()
1158 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones()
1161 ucal_setMillis(cal, date1, &status); in testZones()
/external/bluetooth/glib/glib/
Dgdate.h221 gint g_date_days_between (const GDate *date1,
235 void g_date_order (GDate *date1, GDate *date2);
/external/chromium/third_party/icu/source/test/intltest/
Dcalregts.cpp1729 UDate date1 = calendar->getTime(status); in Test4165343() local
1732 logln(UnicodeString("after adding 12 months: ") + date1); in Test4165343()
1743 if (date1 == date2) { in Test4165343()
2207 UDate date1 = cal.getTime(ec); in TestJ438() local
2215 cal.setTime(date1, ec); in TestJ438()
2228 cal2->setTime(date1, ec2); in TestJ438()
2246 fmt.format(date1, t.remove()) + " = " + in TestJ438()
2249 cal.setTime(date1, ec); in TestJ438()
2262 fmt.format(date1, s.remove()) + " + " + in TestJ438()
2268 fmt.format(date1, s.remove()) + " + " + in TestJ438()
Ddtfmttst.cpp524 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local
525 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985()
532 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
/external/icu4c/test/intltest/
Dcalregts.cpp1758 UDate date1 = calendar->getTime(status); in Test4165343() local
1761 logln(UnicodeString("after adding 12 months: ") + date1); in Test4165343()
1772 if (date1 == date2) { in Test4165343()
2236 UDate date1 = cal.getTime(ec); in TestJ438() local
2244 cal.setTime(date1, ec); in TestJ438()
2257 cal2->setTime(date1, ec2); in TestJ438()
2275 fmt.format(date1, t.remove()) + " = " + in TestJ438()
2278 cal.setTime(date1, ec); in TestJ438()
2291 fmt.format(date1, s.remove()) + " + " + in TestJ438()
2297 fmt.format(date1, s.remove()) + " + " + in TestJ438()
Ddtfmttst.cpp555 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local
556 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985()
563 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()