/external/v8/test/webkit/ |
D | date-parse-comments-test-expected.txt | 29 PASS Date.parse("Dec ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true 30 PASS Date.parse("DEC ((27) 26 (24)) 25 1995 1:30 PM UTC") == 819898200000 is true 31 PASS Date.parse("dec ((27) 26 (24)) 25 1995 1:30 pm utc") == 819898200000 is true 32 PASS Date.parse("Dec 25 1995 1:30 PM UTC (") == 819898200000 is true 33 PASS Date.parse("DEC 25 1995 1:30 PM UTC (") == 819898200000 is true 34 PASS Date.parse("dec 25 1995 1:30 pm utc (") == 819898200000 is true 35 PASS Date.parse("Dec 25 1995 1:30 (PM)) UTC") is NaN 36 PASS Date.parse("DEC 25 1995 1:30 (PM)) UTC") is NaN 37 PASS Date.parse("dec 25 1995 1:30 (pm)) utc") is NaN 38 PASS Date.parse("(Nov) Dec (24) 25 (26) 1995 (1996) GMT (EST)") == 819849600000 is true [all …]
|
D | date-constructor-expected.txt | 24 …s test case tests the Date constructor. In particular, it tests many cases of creating a Date from… 29 PASS isNaN(new Date("")) is true 30 PASS new Date(1111).getTime() is 1111 31 PASS new Date(object).getTime() is 1111 32 PASS new Date(new Date(1111)).getTime() is 1111 33 PASS new Date(new Date(1111).toString()).getTime() is 1000 34 PASS new Date(1111, 1).getTime() - timeZoneOffset is -27104803200000 35 PASS new Date(1111, 1, 1).getTime() - timeZoneOffset is -27104803200000 36 PASS new Date(1111, 1, 1, 1).getTime() - timeZoneOffset is -27104799600000 37 PASS new Date(1111, 1, 1, 1, 1).getTime() - timeZoneOffset is -27104799540000 [all …]
|
D | date-utc-timeclip-expected.txt | 24 Date.UTC() should apply TimeClip operation according to ECMA-262. 29 PASS Date.UTC(275760, 8, 12, 23, 59, 59, 999) is 8639999999999999 30 PASS Date.UTC(275760, 8, 13) is 8640000000000000 31 PASS isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1)) is true 32 PASS isNaN(Date.UTC(275760, 8, 14)) is true 33 PASS Date.UTC(-271821, 3, 20, 0, 0, 0, 1) is -8639999999999999 34 PASS Date.UTC(-271821, 3, 20) is -8640000000000000 35 PASS isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999)) is true 36 PASS isNaN(Date.UTC(-271821, 3, 19)) is true
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | DateTest.java | 20 import java.sql.Date; 117 Date theDate = new Date(init1[i], init2[i], init3[i]); in testDateintintint() 133 Date theDate = new Date(element); in testDatelong() 145 Date theDate = new Date(TIME_TESTDATE1); in testGetHours() 160 Date theDate = new Date(TIME_TESTDATE1); in testGetMinutes() 175 Date theDate = new Date(TIME_TESTDATE1); in testGetSeconds() 190 Date theDate = new Date(TIME_TESTDATE1); in testSetHours() 205 Date theDate = new Date(TIME_TESTDATE1); in testSetMinutes() 221 Date theDate = new Date(TIME_TESTDATE1); in testSetSeconds() 249 Date theDate = new Date(theDates[i]); in testToString() [all …]
|
/external/v8/test/webkit/fast/js/kde/ |
D | inbuilt_function_proto-expected.txt | 74 PASS Date.prototype.toString.__proto__ is Function.prototype 75 PASS Date.prototype.toUTCString.__proto__ is Function.prototype 76 PASS Date.prototype.toDateString.__proto__ is Function.prototype 77 PASS Date.prototype.toTimeString.__proto__ is Function.prototype 78 PASS Date.prototype.toLocaleString.__proto__ is Function.prototype 79 PASS Date.prototype.toLocaleDateString.__proto__ is Function.prototype 80 PASS Date.prototype.toLocaleTimeString.__proto__ is Function.prototype 81 PASS Date.prototype.valueOf.__proto__ is Function.prototype 82 PASS Date.prototype.getTime.__proto__ is Function.prototype 83 PASS Date.prototype.getFullYear.__proto__ is Function.prototype [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | RangeDateRule.java | 11 import java.util.Date; 43 add(new Date(Long.MIN_VALUE), rule); in add() 50 public void add(Date start, DateRule rule) { in add() 62 public Date firstAfter(Date start) { in firstAfter() 68 Date result = null; in firstAfter() 88 public Date firstBetween(Date start, Date end) { in firstBetween() 95 Date result = null; in firstBetween() 105 Date e = (next != null && !next.start.after(end)) ? next.start in firstBetween() 117 public boolean isOn(Date date) { in isOn() 128 public boolean isBetween(Date start, Date end) { in isBetween() [all …]
|
D | DateRule.java | 10 import java.util.Date; 40 abstract public Date firstAfter(Date start); in firstAfter() 57 abstract public Date firstBetween(Date start, Date end); in firstBetween() 71 abstract public boolean isOn(Date date); in isOn() 79 abstract public boolean isBetween(Date start, Date end); in isBetween()
|
D | SimpleDateRule.java | 10 import java.util.Date; 78 public Date firstAfter(Date start) in firstAfter() 98 public Date firstBetween(Date start, Date end) in firstBetween() 116 public boolean isOn(Date date) in isOn() 140 public boolean isBetween(Date start, Date end) in isBetween() 145 private Date doFirstBetween(Date start, Date end) in doFirstBetween() 162 Date result = computeInYear(year, c); in doFirstBetween() 177 private Date computeInYear(int year, Calendar c) in computeInYear()
|
D | EasterHoliday.java | 10 import java.util.Date; 155 orthodox.setGregorianChange(new Date(Long.MAX_VALUE)); in EasterRule() 163 public Date firstAfter(Date start) in firstAfter() 172 public Date firstBetween(Date start, Date end) in firstBetween() 180 public boolean isOn(Date date) in isOn() 195 public boolean isBetween(Date start, Date end) in isBetween() 200 private Date doFirstBetween(Date start, Date end) in doFirstBetween() 207 Date result = computeInYear(start, calendar); in doFirstBetween() 243 private Date computeInYear(Date date, GregorianCalendar cal) in computeInYear()
|
D | Holiday.java | 10 import java.util.Date; 75 public Date firstAfter(Date start) { in firstAfter() 93 public Date firstBetween(Date start, Date end) { in firstBetween() 107 public boolean isOn(Date date) { in isOn() 118 public boolean isBetween(Date start, Date end) { in isBetween()
|
D | TimeArrayTimeZoneRule.java | 9 import java.util.Date; 80 public Date getFirstStart(int prevRawOffset, int prevDSTSavings) { in getFirstStart() 81 return new Date(getUTC(startTimes[0], prevRawOffset, prevDSTSavings)); in getFirstStart() 88 public Date getFinalStart(int prevRawOffset, int prevDSTSavings) { in getFinalStart() 89 return new Date(getUTC(startTimes[startTimes.length - 1], prevRawOffset, prevDSTSavings)); in getFinalStart() 96 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getNextStart() 107 return new Date(getUTC(startTimes[i + 1], prevOffset, prevDSTSavings)); in getNextStart() 114 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { in getPreviousStart() 119 return new Date(time); in getPreviousStart()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | HolidayTest.java | 9 import java.util.Date; 35 now = new Date(); in init() 39 static Date longTimeAgo; 40 static Date now; 96 Date first = h.firstAfter(longTimeAgo); in exerciseHoliday() 103 Date second = h.firstBetween(first, now); in exerciseHoliday() 139 final Date fStartOfMonth = startOfMonth((Calendar)c.clone()); in exerciseHoliday() 162 Date endOfMonth = c.getTime(); in exerciseHoliday() 178 Date d = fStartOfMonth; in exerciseHoliday() 205 private Date startOfMonth(/*Date dateInMonth,*/ Calendar fCalendar) in startOfMonth() [all …]
|
/external/libusb/ |
D | ChangeLog | 3 Date: Tue May 4 19:01:59 2010 -0300 9 Date: Thu Apr 22 18:12:51 2010 -0300 18 Date: Tue Apr 20 20:14:09 2010 -0300 24 Date: Tue Apr 20 19:43:06 2010 -0300 33 Date: Mon Apr 19 19:36:55 2010 -0300 39 Date: Mon Apr 19 19:31:12 2010 -0300 45 Date: Mon Apr 19 19:22:46 2010 -0300 54 Date: Mon Apr 5 17:11:32 2010 +0200 76 Date: Tue Mar 23 16:22:08 2010 -0600 82 Date: Mon Mar 8 10:50:51 2010 +0000 [all …]
|
/external/libusb-compat/ |
D | ChangeLog | 3 Date: Thu Jul 9 22:15:32 2009 +0100 9 Date: Thu Jul 9 22:13:45 2009 +0100 20 Date: Fri Jun 19 22:11:02 2009 +0100 43 Date: Thu Jun 11 23:50:59 2009 +0100 49 Date: Fri May 29 12:28:05 2009 -0400 55 Date: Thu May 28 09:28:50 2009 -0400 61 Date: Wed May 27 15:39:54 2009 -0400 71 Date: Sat Dec 13 20:30:54 2008 +0000 77 Date: Sat Dec 13 20:25:27 2008 +0000 94 Date: Fri Nov 21 16:52:42 2008 +0000 [all …]
|
/external/openssh/ |
D | ChangeLog | 3 Date: Mon Mar 16 22:49:20 2015 -0700 9 Date: Wed Mar 11 10:35:26 2015 +1100 15 Date: Wed Mar 11 10:02:39 2015 +1100 21 Date: Sat Mar 7 04:41:48 2015 +0000 29 Date: Thu Mar 5 18:39:20 2015 -0800 35 Date: Fri Mar 6 01:40:56 2015 +0000 44 Date: Wed Mar 4 15:38:03 2015 -0800 50 Date: Wed Mar 4 23:22:35 2015 +0000 58 Date: Wed Mar 4 21:12:59 2015 +0000 66 Date: Wed Mar 4 00:55:48 2015 -0800 [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
D | TrackMetaData.java | 18 import java.util.Date; 26 private Date modificationTime = new Date(); 27 private Date creationTime = new Date(); 59 public Date getModificationTime() { in getModificationTime() 63 public void setModificationTime(Date modificationTime) { in setModificationTime() 67 public Date getCreationTime() { in getCreationTime() 71 public void setCreationTime(Date creationTime) { in setCreationTime()
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
D | X509CRLSelectorTest.java | 36 import java.util.Date; 59 private Date thisUpdate = null; 60 private Date nextUpdate = null; 66 public TestCRL(Date thisUpdate, Date nextUpdate) { in TestCRL() 74 public void setUpdateDates(Date thisUpdate, Date nextUpdate) { in setUpdateDates() 140 public Date getThisUpdate() { in getThisUpdate() 144 public Date getNextUpdate() { in getNextUpdate() 399 TestCRL crl = new TestCRL(new Date(200), new Date(300)); in testSetDateAndTime() 403 selector.setDateAndTime(new Date(200)); in testSetDateAndTime() 406 selector.setDateAndTime(new Date(250)); in testSetDateAndTime() [all …]
|
/external/v8/test/webkit/fast/js/ |
D | date-toisostring-expected.txt | 24 Tests for Date.toISOString 29 PASS Date.toISOString.call({}) threw exception TypeError: Cannot read property 'call' of undefined. 30 PASS Date.toISOString.call(0) threw exception TypeError: Cannot read property 'call' of undefined. 31 PASS new Date(-400).toISOString() is '1969-12-31T23:59:59.600Z' 32 PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z' 33 PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z' 34 PASS new Date('1 January 2000 UTC').toISOString() is '2000-01-01T00:00:00.000Z' 35 PASS new Date('1 January 4000 UTC').toISOString() is '4000-01-01T00:00:00.000Z' 36 PASS new Date('1 January 100000 UTC').toISOString() is '+100000-01-01T00:00:00.000Z' 37 FAIL new Date('1 January -1 UTC').toISOString() should be -000001-01-01T00:00:00.000Z. Threw except… [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
D | CsrUtil.java | 22 import java.util.Date; 50 Date notBefore = new Date(calendar.getTimeInMillis()); in generateX509V3AuthorityCertificate() 52 Date notAfter = new Date(calendar.getTimeInMillis()); in generateX509V3AuthorityCertificate() 62 KeyPair rootPair, Date notBefore, Date notAfter, BigInteger serialNumber) in generateX509V3AuthorityCertificate() 111 Date notBefore = new Date(calendar.getTimeInMillis()); in issueX509V3Certificate() 113 Date notAfter = new Date(calendar.getTimeInMillis()); in issueX509V3Certificate() 122 X509Certificate rootCert, KeyPair rootPair, Date notBefore, Date notAfter, in issueX509V3Certificate()
|
D | SslUtil.java | 49 import java.util.Date; 104 Date startDate = new Date(calendar.getTimeInMillis()); in generateX509V1Certificate() 106 Date expiryDate = new Date(calendar.getTimeInMillis()); in generateX509V1Certificate() 138 String name, Date notBefore, Date notAfter, BigInteger serialNumber) in generateX509V3Certificate() 252 Date notBefore = new Date(calendar.getTimeInMillis()); in generateX509V3Certificate() 254 Date notAfter = new Date(calendar.getTimeInMillis()); in generateX509V3Certificate() 273 Date notBefore = new Date(calendar.getTimeInMillis()); in generateX509V3Certificate() 275 Date notAfter = new Date(calendar.getTimeInMillis()); in generateX509V3Certificate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 16 import java.util.Date; 59 Date d = new Date(1002705212906L); in Test4148168() 76 Date someDate = new Date(); in Test4213086() 128 Date d = cal.getTime(); in Test4250359() 140 Date d = new Date(1002705212231L); in Test4253490() 168 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0); in Test4266432() 178 Date today = cal.getTime(); in Test4358730() 200 Date currentTime = sdf.parse("vggf 20 01.0 9.29 ap. J.-C. at 05:26:33 GMT+08:00", in Test4375399() 221 Date d =new Date(-93716671115767L); in Test4468663() 259 Date date = sdf.parse(TIME_STRING); in run() [all …]
|
D | DateFormatRegressionTest.java | 25 import java.util.Date; 52 Date today = cal.getTime(); in Test4029195() 94 Date dt = cal.getTime(); in Test4052408() 174 Date start = cal.getTime(); in Test4056591() 180 Date d1 = cal.getTime(); in Test4056591() 183 Date d2 = cal.getTime(); in Test4056591() 186 Date d3 = cal.getTime(); in Test4056591() 189 Date d4 = cal.getTime(); in Test4056591() 191 Date dates[] = {d1, d2, d3, d4}; in Test4056591() 197 Date exp = dates[i]; in Test4056591() [all …]
|
D | IntlTestDateFormat.java | 21 import java.util.Date; 118 Date now = new Date(); in TestFormat() 119 tryDate(new Date(0)); in TestFormat() 120 tryDate(new Date((long) 1278161801778.0)); in TestFormat() 124 tryDate(new Date(now.getTime() + 6*30*ONEDAY)); in TestFormat() 126 Date limit = new Date(now.getTime() * 10); // Arbitrary limit in TestFormat() 129 tryDate(new Date((long) (randDouble() * limit.getTime()))); in TestFormat() 143 private void tryDate(Date theDate) { in tryDate() 145 Date[] date = new Date[DEPTH]; in tryDate()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | DerGeneralizedTimeEDTest.java | 28 import java.util.Date; 54 Date myDate = getGmtDate(1101980374187L); in testGeneralizedEncoder() 121 Date myDate = new Date(1101980374187L); in runTest() 130 myDate = new Date(1101980374180L); in runTest() 139 myDate = new Date(1101980374100L); in runTest() 148 myDate = new Date(1101980374000L); in runTest() 167 myDate = new Date(100L); in runTest() 176 private static Date getGmtDate(long mills) { in getGmtDate() 177 return new Date(mills); in getGmtDate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 8 import java.util.Date; 57 void findDaylightBoundaryUsingDate(Date d, String startMode, long expectedBoundary) in findDaylightBoundaryUsingDate() 75 String s = new Date(mid).toString(); in findDaylightBoundaryUsingDate() 135 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, long expectedBoundary) in findDaylightBoundaryUsingTimeZone() 141 void findDaylightBoundaryUsingTimeZone(Date d, boolean startsInDST, in findDaylightBoundaryUsingTimeZone() 159 if (tz.inDaylightTime(new Date(max)) == startsInDST) in findDaylightBoundaryUsingTimeZone() 162 (new Date(max)) + ") != " + (!startsInDST)); in findDaylightBoundaryUsingTimeZone() 169 boolean isIn = tz.inDaylightTime(new Date(mid)); in findDaylightBoundaryUsingTimeZone() 189 …logln("PASS: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() 191 …errln("FAIL: Expected boundary at " + expectedBoundary + " = " + fmt.format(new Date(expectedBound… in findDaylightBoundaryUsingTimeZone() [all …]
|