Searched refs:date2 (Results 1 – 7 of 7) sorted by relevance
/external/v8/test/mjsunit/ |
D | date.js | 33 var date2 = new Date(date0.toString()); variable 34 assertEquals(1000, date2.getTime()); 39 var date2 = Date.parse("Dec 25 1995, 1:30"); 42 assertEquals(date1, date2); 43 assertEquals(date2, date3);
|
/external/icu4c/test/cintltst/ |
D | cdtdptst.c | 199 UDate date1, date2; in TestRunTogetherPattern985() local 212 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985() 213 if (date2 == 0) log_verbose("Parse stopped at : %d\n", pos); in TestRunTogetherPattern985() 214 else then=myDateFormat(format, date2); in TestRunTogetherPattern985() 216 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
|
/external/bluetooth/glib/glib/ |
D | gdate.h | 222 const GDate *date2); 235 void g_date_order (GDate *date1, GDate *date2);
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 655 Date date2 = new Date(time); 656 Timestamp timestamp2 = new Timestamp(date2.getTime()); 657 assertEquals(0, timestamp2.compareTo(date2));
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CertSelectorTest.java | 981 Date date2 = new Date(200); in testSetCertificateValid() local 983 TestCert cert_2 = new TestCert(date2); in testSetCertificateValid() 995 selector.setCertificateValid(date2); in testSetCertificateValid() 996 date2.setTime(300); in testSetCertificateValid() 1009 Date date2 = new Date(200); in testGetCertificateValid() local 1021 date2.equals(selector.getCertificateValid())); in testGetCertificateValid() 1032 Date date2 = new Date(200000000); in testSetPrivateKeyValid() local 1036 TestCert cert_1 = new TestCert(date1, date2); in testSetPrivateKeyValid() 1037 TestCert cert_2 = new TestCert(date2, date3); in testSetPrivateKeyValid() 1063 Date date2 = new Date(200); in testGetPrivateKeyValid() local [all …]
|
/external/icu4c/test/intltest/ |
D | calregts.cpp | 1768 UDate date2 = calendar->getTime(status); in Test4165343() local 1771 logln(UnicodeString("after adding one year : ") + date2); in Test4165343() 1772 if (date1 == date2) { in Test4165343() 2240 UDate date2 = cal.getTime(ec); in TestJ438() local 2247 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438() 2248 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438() 2249 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438() 2259 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438() 2260 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438() 2261 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438() [all …]
|
D | dtfmttst.cpp | 562 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() local 563 if (date2 == 0) then = "Parse stopped at " + pos.getIndex(); in TestRunTogetherPattern985() 564 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985() 566 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
|