Home
last modified time | relevance | path

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

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DChapter2_5Test.java43 Date date1 = (Date) data1.get("Time"); in testExample_2_28() local
44 assertTrue("Date: " + date1, date1.after(date)); in testExample_2_28()
50 assertTrue("Date: " + date3, date3.after(date1)); in testExample_2_28()
/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/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()
738 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local
739 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985()
746 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
3850 UDate date1 = formatter->parse(itemPtr->dateString, status); in TestNumberAsStringParsing() local
3861 formatter->format(date1, formatted); in TestNumberAsStringParsing()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegression.java1223 Date date1 = calendar.getTime(); in Test4165343() local
1224 logln("after adding 12 months: " + date1); in Test4165343()
1229 if (date1.equals(date2)) { in Test4165343()
1740 Date date1 = cal.getTime();
1744 cal.setTime(date1);
1749 logln("" + date2 + " - " + date1 + " = " +
1752 cal.setTime(date1);
1758 errln("FAIL: " + date1 + " + " +
1762 logln("Ok: " + date1 + " + " +
/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.java161 DateFormat date1 = DateFormat.getPatternInstance(actualPattern, in TestPatterns() local
167 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns()
180 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
1592 Date date1 = new Date(); in TestRunTogetherPattern985() local
1593 now = ((DateFormat) formatter).format(date1); in TestRunTogetherPattern985()
1602 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java1257 … long date1 = 1299090600000L; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in TestGetSetTimeZone() local
1259 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
DDateFormatTest.java165 DateFormat date1 = DateFormat.getPatternInstance(actualPattern, in TestPatterns() local
171 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns()
184 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
1596 Date date1 = new Date(); in TestRunTogetherPattern985() local
1597 now = ((DateFormat) formatter).format(date1); in TestRunTogetherPattern985()
1606 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
/external/v8/test/mjsunit/asm/embenchen/
Dlua_binarytrees.js6871 function compareByDay(date1, date2) { argument
6877 if ((compare = sgn(date1.getFullYear()-date2.getFullYear())) === 0) {
6878 if ((compare = sgn(date1.getMonth()-date2.getMonth())) === 0) {
6879 compare = sgn(date1.getDate()-date2.getDate());
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...