/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-280531.js | 29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); variable 32 assertEquals(date1, date2);
|
/external/v8/test/mjsunit/ |
D | date.js | 30 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/chromium_org/v8/test/mjsunit/ |
D | date.js | 32 var date1 = new Date(date0); variable 34 assertEquals(date0.getTime(), date1.getTime()); 40 var date1 = Date.parse("Dec 25, 1995 1:30"); 43 assertEquals(date0, date1); 44 assertEquals(date1, date2);
|
/external/icu4c/test/cintltst/ |
D | cdtdptst.c | 199 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()
|
D | ccaltst.c | 1199 UDate date1; in TestDOWProgression() local 1228 date1=ucal_getMillis(cal, &status); in TestDOWProgression() 1230 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression() 1238 date1=ucal_getMillis(cal, &status); in TestDOWProgression() 1242 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression() 1271 UDate date1; in testZones() local 1302 date1 = ucal_getMillis(gmtcal, &status); in testZones() 1307 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones() 1310 ucal_setMillis(cal, date1, &status); in testZones()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | cdtdptst.c | 199 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()
|
D | ccaltst.c | 1056 UDate date1; in TestDOWProgression() local 1085 date1=ucal_getMillis(cal, &status); in TestDOWProgression() 1087 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression() 1095 date1=ucal_getMillis(cal, &status); in TestDOWProgression() 1099 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression() 1128 UDate date1; in testZones() local 1159 date1 = ucal_getMillis(gmtcal, &status); in testZones() 1164 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones() 1167 ucal_setMillis(cal, date1, &status); in testZones()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertSelectorTest.java | 980 Date date1 = new Date(100); in testSetCertificateValid() local 982 TestCert cert_1 = new TestCert(date1); in testSetCertificateValid() 990 selector.setCertificateValid(date1); in testSetCertificateValid() 1008 Date date1 = new Date(100); in testGetCertificateValid() local 1014 selector.setCertificateValid(date1); in testGetCertificateValid() 1016 date1.equals(selector.getCertificateValid())); in testGetCertificateValid() 1019 date1.equals(selector.getCertificateValid())); in testGetCertificateValid() 1031 Date date1 = new Date(100000000); in testSetPrivateKeyValid() local 1036 TestCert cert_1 = new TestCert(date1, date2); in testSetPrivateKeyValid() 1062 Date date1 = new Date(100); in testGetPrivateKeyValid() local [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | calregts.cpp | 1758 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()
|
D | dtfmttst.cpp | 558 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local 559 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985() 566 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
|
/external/icu4c/test/intltest/ |
D | calregts.cpp | 1811 UDate date1 = calendar->getTime(status); in Test4165343() local 1814 logln(UnicodeString("after adding 12 months: ") + date1); in Test4165343() 1825 if (date1 == date2) { in Test4165343() 2289 UDate date1 = cal.getTime(ec); in TestJ438() local 2297 cal.setTime(date1, ec); in TestJ438() 2310 cal2->setTime(date1, ec2); in TestJ438() 2328 fmt.format(date1, t.remove()) + " = " + in TestJ438() 2331 cal.setTime(date1, ec); in TestJ438() 2344 fmt.format(date1, s.remove()) + " + " + in TestJ438() 2350 fmt.format(date1, s.remove()) + " + " + in TestJ438()
|
D | dtifmtts.cpp | 326 … UDate date1 = 1299090600000.0; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in testAPI() local 329 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
|
D | dtfmttst.cpp | 190 SimpleDateFormat date1(pattern, locale, errorCode); in TestPatterns() local 202 date1.toLocalizedPattern(actualLocalPattern1, errorCode); in TestPatterns() 699 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local 700 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985() 707 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985() 3690 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing() local 3701 formatter->format(date1, formatted); in TestNumberAsStringParsing()
|