Home
last modified time | relevance | path

Searched refs:date2 (Results 1 – 15 of 15) sorted by relevance

/external/v8/test/mjsunit/regress/
Dregress-280531.js31 var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); variable
32 assertEquals(date1, date2);
/external/v8/test/mjsunit/
Ddate.js35 var date2 = new Date(date0.toString()); variable
36 assertEquals(1000, date2.getTime());
41 var date2 = Date.parse("Dec 25 1995, 1:30");
44 assertEquals(date1, date2);
45 assertEquals(date2, date3);
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp37 UDate date2 = cal->getTime(status); in dtitvfmtPreDefined() local
43 new DateInterval(date1,date2), in dtitvfmtPreDefined()
44 new DateInterval(date2,date3), in dtitvfmtPreDefined()
/external/icu/icu4c/source/test/cintltst/
Dcdtdptst.c201 UDate date1, date2; in TestRunTogetherPattern985() local
214 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985()
215 if (date2 == 0) log_verbose("Parse stopped at : %d\n", pos); in TestRunTogetherPattern985()
216 else then=myDateFormat(format, date2); in TestRunTogetherPattern985()
218 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java654 Date date2 = new Date(time);
655 Timestamp timestamp2 = new Timestamp(date2.getTime());
656 assertEquals(0, timestamp2.compareTo(date2));
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java978 Date date2 = new Date(200); in testSetCertificateValid() local
980 TestCert cert_2 = new TestCert(date2); in testSetCertificateValid()
992 selector.setCertificateValid(date2); in testSetCertificateValid()
993 date2.setTime(300); in testSetCertificateValid()
1006 Date date2 = new Date(200); in testGetCertificateValid() local
1018 date2.equals(selector.getCertificateValid())); in testGetCertificateValid()
1029 Date date2 = new Date(200000000); in testSetPrivateKeyValid() local
1033 TestCert cert_1 = new TestCert(date1, date2); in testSetPrivateKeyValid()
1034 TestCert cert_2 = new TestCert(date2, date3); in testSetPrivateKeyValid()
1060 Date date2 = new Date(200); in testGetPrivateKeyValid() local
[all …]
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1822 UDate date2 = calendar->getTime(status); in Test4165343() local
1825 logln(UnicodeString("after adding one year : ") + date2); in Test4165343()
1826 if (date1 == date2) { in Test4165343()
2294 UDate date2 = cal.getTime(ec); in TestJ438() local
2301 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438()
2302 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438()
2303 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438()
2313 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438()
2314 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438()
2315 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438()
[all …]
Ddtifmtts.cpp329 … UDate date2 = 1299115800000.0; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in testAPI() local
331 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
Ddtfmttst.cpp204 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns() local
205 date2.adoptCalendar(Calendar::createInstance(locale, errorCode)); in TestPatterns()
216 date2.toLocalizedPattern(actualLocalPattern2, errorCode); in TestPatterns()
718 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() local
719 if (date2 == 0) then = UnicodeString("Parse stopped at ") + pos.getIndex(); in TestRunTogetherPattern985()
720 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985()
722 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
Dcaltest.cpp3317 UDate date2 = is_cal->getTime(status); in TestIslamicUmAlQura() local
3319 if(date2 != date) { in TestIslamicUmAlQura()
3320 errln("before(%f) and after(%f) dates don't match up!",date, date2); in TestIslamicUmAlQura()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java1223 Date date2 = calendar.getTime(); in Test4165343() local
1224 logln("after adding one year : " + date2); in Test4165343()
1225 if (date1.equals(date2)) { in Test4165343()
1738 Date date2 = cal.getTime();
1741 int dy = cal.fieldDifference(date2, Calendar.YEAR);
1742 int dm = cal.fieldDifference(date2, Calendar.MONTH);
1743 int dd = cal.fieldDifference(date2, Calendar.DATE);
1745 logln("" + date2 + " - " + date1 + " = " +
1753 if (!date2.equals(date22)) {
1756 date22 + ", exp " + date2);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1254 … long date2 = 1299115800000L; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in TestGetSetTimeZone() local
1255 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
DDateFormatTest.java141 DateFormat date2 = DateFormat.getPatternInstance(Calendar.getInstance(locale), in TestPatterns() local
146 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns()
1571 Date date2 = formatter.parse(now, pos); in TestRunTogetherPattern985() local
1572 if (date2 == null) in TestRunTogetherPattern985()
1575 then = ((DateFormat) formatter).format(date2); in TestRunTogetherPattern985()
1577 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/lldb/test/functionalities/data-formatter/data-formatter-objc/
Dmain.m539 NSDate *date2 = [NSDate dateWithNaturalLanguageString:@"12am January 1, 2011"];
544 CFAbsoluteTime date2_abs = CFDateGetAbsoluteTime(date2);
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...