Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/regress/
Dregress-280531.js29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')"); variable
32 assertEquals(date1, date2);
/external/lldb/test/lang/objc/rdar-10967107/
Dmain.m7 NSDate *date1 = [NSDate date];
8 …nDate cf_greg_date = CFAbsoluteTimeGetGregorianDate(CFDateGetAbsoluteTime((CFDateRef)date1), NULL);
/external/v8/test/mjsunit/
Ddate.js32 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/icu/icu4c/source/test/cintltst/
Dcdtdptst.c201 UDate date1, date2; in TestRunTogetherPattern985() local
210 date1 = ucal_getNow(); in TestRunTogetherPattern985()
211 now=myDateFormat(format, date1); in TestRunTogetherPattern985()
218 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
Dccaltst.c1207 UDate date1; in TestDOWProgression() local
1236 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1238 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression()
1246 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1250 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression()
1279 UDate date1; in testZones() local
1310 date1 = ucal_getMillis(gmtcal, &status); in testZones()
1315 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones()
1318 ucal_setMillis(cal, date1, &status); in testZones()
/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp35 UDate date1 = cal->getTime(status); in dtitvfmtPreDefined() local
43 new DateInterval(date1,date2), in dtitvfmtPreDefined()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CertSelectorTest.java977 Date date1 = new Date(100); in testSetCertificateValid() local
979 TestCert cert_1 = new TestCert(date1); in testSetCertificateValid()
987 selector.setCertificateValid(date1); in testSetCertificateValid()
1005 Date date1 = new Date(100); in testGetCertificateValid() local
1011 selector.setCertificateValid(date1); in testGetCertificateValid()
1013 date1.equals(selector.getCertificateValid())); in testGetCertificateValid()
1016 date1.equals(selector.getCertificateValid())); in testGetCertificateValid()
1028 Date date1 = new Date(100000000); in testSetPrivateKeyValid() local
1033 TestCert cert_1 = new TestCert(date1, date2); in testSetPrivateKeyValid()
1059 Date date1 = new Date(100); in testGetPrivateKeyValid() local
[all …]
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1812 UDate date1 = calendar->getTime(status); in Test4165343() local
1815 logln(UnicodeString("after adding 12 months: ") + date1); in Test4165343()
1826 if (date1 == date2) { in Test4165343()
2290 UDate date1 = cal.getTime(ec); in TestJ438() local
2298 cal.setTime(date1, ec); in TestJ438()
2311 cal2->setTime(date1, ec2); in TestJ438()
2329 fmt.format(date1, t.remove()) + " = " + in TestJ438()
2332 cal.setTime(date1, ec); in TestJ438()
2345 fmt.format(date1, s.remove()) + " + " + in TestJ438()
2351 fmt.format(date1, s.remove()) + " + " + in TestJ438()
Ddtifmtts.cpp328 … UDate date1 = 1299090600000.0; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in testAPI() local
331 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
Ddtfmttst.cpp203 SimpleDateFormat date1(pattern, locale, errorCode); in TestPatterns() local
215 date1.toLocalizedPattern(actualLocalPattern1, errorCode); in TestPatterns()
714 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local
715 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985()
722 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
3821 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing() local
3832 formatter->format(date1, formatted); in TestNumberAsStringParsing()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java1219 Date date1 = calendar.getTime(); in Test4165343() local
1220 logln("after adding 12 months: " + date1); in Test4165343()
1225 if (date1.equals(date2)) { in Test4165343()
1736 Date date1 = cal.getTime();
1740 cal.setTime(date1);
1745 logln("" + date2 + " - " + date1 + " = " +
1748 cal.setTime(date1);
1754 errln("FAIL: " + date1 + " + " +
1758 logln("Ok: " + date1 + " + " +
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1253 … long date1 = 1299090600000L; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in TestGetSetTimeZone() local
1255 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
DDateFormatTest.java139 DateFormat date1 = DateFormat.getPatternInstance(actualPattern, in TestPatterns() local
145 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns()
158 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
1567 Date date1 = new Date(); in TestRunTogetherPattern985() local
1568 now = ((DateFormat) formatter).format(date1); in TestRunTogetherPattern985()
1577 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/lldb/test/functionalities/data-formatter/data-formatter-objc/
Dmain.m538 NSDate *date1 = [NSDate dateWithNaturalLanguageString:@"6pm April 10, 1985"];
543 CFAbsoluteTime date1_abs = CFDateGetAbsoluteTime(date1);
596 CFGregorianDate cf_greg_date = CFAbsoluteTimeGetGregorianDate(CFDateGetAbsoluteTime(date1), NULL);
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...