/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | DateTest.java | 21 import java.util.Date; 27 static class MockDate extends Date{ 51 long now = new Date().getTime(); in test_Constructor() 61 Date d1 = new Date(70, 0, 1); // the epoch + local time in test_ConstructorIII() 64 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000); in test_ConstructorIII() 68 Date date = new Date(99, 5, 22); in test_ConstructorIII() 80 Date d1 = new Date(70, 0, 1, 1, 1); in test_ConstructorIIIII() 83 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000 + 60 * 60 in test_ConstructorIIIII() 96 Date d1 = new Date(70, 0, 1, 1, 1, 1); in test_ConstructorIIIIII() 99 Date d2 = new Date(0 + d1.getTimezoneOffset() * 60 * 1000 + 60 * 60 in test_ConstructorIIIIII() [all …]
|
D | TimerTest.java | 20 import java.util.Date; 350 Date d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 366 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 383 d = new Date(-100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 398 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 425 d = new Date(-100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 441 d = new Date(System.currentTimeMillis() + 200); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 455 d = new Date(System.currentTimeMillis() + 100); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 459 d = new Date(System.currentTimeMillis() + 150); in test_scheduleLjava_util_TimerTaskLjava_util_Date() 463 d = new Date(System.currentTimeMillis() + 70); in test_scheduleLjava_util_TimerTaskLjava_util_Date() [all …]
|
D | FormatterTest.java | 37 import java.util.Date; 922 f.format("head%1$n%2$n", 1, new Date()); in test_formatLjava_lang_String$Ljava_lang_Object_LineSeparator() 1397 new Double(1.1d), "string content", new Float(1.1f), new Date() }; in test_formatLjava_lang_String$Ljava_lang_Object_CharacterConversion() 1720 Date now = new Date(1147327147578L); in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1735 {new Date(1147327147578L), 'a', "Do."}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1741 {new Date(1147327147578L), 'b', "Mai"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1747 … {new Date(1147327147578L), 'c', "Do. Mai 11 13:59:07 GMT+08:00 2006"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1753 {new Date(1147327147578L), 'd', "11"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1759 {new Date(1147327147578L), 'e', "11"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() 1765 {new Date(1147327147578L), 'h', "Mai"}, //$NON-NLS-2$ in test_formatLjava_lang_String$Ljava_lang_Object_DateTimeConversion() [all …]
|
D | GregorianCalendarTest.java | 22 import java.util.Date; 115 Date date = new Date(); in test_ConstructorLjava_util_Locale() 131 Date date = new Date(2008,1,1); in test_ConstructorLjava_util_TimeZone() 170 Date date = new Date(2008,1,1); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 283 gc3.setGregorianChange(new Date()); in test_equalsLjava_lang_Object() 321 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); in test_getActualMaximumI() 323 gc.setTimeInMillis(Date.parse("Dec 15 00:00:01 GMT 1582")); in test_getActualMaximumI() 326 gc.setTimeInMillis(Date.parse("Jan 16 00:00:01 GMT 2000")); in test_getActualMaximumI() 438 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); in test_getLeastMaximumI() 728 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); in test_getI() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | DateTest.java | 20 import java.sql.Date; 118 Date theDate = new Date(init1[i], init2[i], init3[i]); in testDateintintint() 134 Date theDate = new Date(element); in testDatelong() 146 Date theDate = new Date(TIME_TESTDATE1); in testGetHours() 161 Date theDate = new Date(TIME_TESTDATE1); in testGetMinutes() 176 Date theDate = new Date(TIME_TESTDATE1); in testGetSeconds() 191 Date theDate = new Date(TIME_TESTDATE1); in testSetHours() 206 Date theDate = new Date(TIME_TESTDATE1); in testSetMinutes() 222 Date theDate = new Date(TIME_TESTDATE1); in testSetSeconds() 250 Date theDate = new Date(theDates[i]); in testToString() [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/webkit/PerformanceTests/SunSpider/ |
D | UNCOVERED | 51 Date.toDateString 52 Date.toTimeString 53 Date.getUTCFullYear 54 Date.getUTCMonth 55 Date.getUTCDate 56 Date.getUTCDay 57 Date.getUTCSeconds 58 Date.getMilliseconds 59 Date.getUTCMilliseconds 60 Date.set*
|
/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() 142 public Date getThisUpdate() { in getThisUpdate() 146 public Date getNextUpdate() { in getNextUpdate() 401 TestCRL crl = new TestCRL(new Date(200), new Date(300)); in testSetDateAndTime() 405 selector.setDateAndTime(new Date(200)); in testSetDateAndTime() 408 selector.setDateAndTime(new Date(250)); in testSetDateAndTime() [all …]
|
D | X509CertSelectorTest.java | 38 import java.util.Date; 97 protected Date date = null; 98 protected Date notBefore = null; 99 protected Date notAfter = null; 141 public TestCert(Date date) { in TestCert() 145 public TestCert(Date notBefore, Date notAfter) { in TestCert() 188 public void setPeriod(Date notBefore, Date notAfter) { in setPeriod() 213 public void setDate(Date date) { in setDate() 214 this.date = new Date(date.getTime()); in setDate() 244 public void checkValidity(Date date) in checkValidity() [all …]
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
D | KerberosTicketTest.java | 23 import java.util.Date; 66 private static final Date authTime = new Date(AUTH_TIME); 70 private static final Date startTime = new Date(START_TIME); 74 private static final Date endTime = new Date(END_TIME); 76 private static final Date renewTill = new Date(3); 93 Date newAuthTime = new Date(AUTH_TIME); in test_getAuthTime() 190 Date newEndTime = new Date(END_TIME); in test_getEndTime() 362 Date newStartTime = new Date(START_TIME); in test_getStartTime() 456 Date newRenewTill = new Date((new Date()).getTime() - 3600000); in test_refresh() 472 newRenewTill = new Date((new Date()).getTime() + 3600000); in test_refresh() [all …]
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/ |
D | KerberosTicketTest.java | 23 import java.util.Date; 54 private static final Date authTime = new Date(0); 56 private static final Date startTime = new Date(1); 58 private static final Date endTime = new Date(2); 60 private static final Date renewTill = new Date(3);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | DerGeneralizedTimeEDTest.java | 28 import java.util.Date; 53 Date myDate = getGmtDate(1101980374187L); in testGeneralizedEncoder() 118 Date myDate = new Date(1101980374187L); in runTest() 127 myDate = new Date(1101980374180L); in runTest() 136 myDate = new Date(1101980374100L); in runTest() 145 myDate = new Date(1101980374000L); in runTest() 164 myDate = new Date(100L); in runTest() 173 private static Date getGmtDate(long mills) { in getGmtDate() 174 return new Date(mills); in getGmtDate()
|
D | DerUTCTimeEDTest.java | 28 import java.util.Date; 55 Date myDate = getGmtDate(1101980374187L); in testUTCEncoder() 98 Date myDate = new Date(1101980374187L); in runTest() 105 assertEquals(187, (myDate.getTime()-((Date)uTime.decode(dis)).getTime())); in runTest() 133 private static Date getGmtDate(long mills) { in getGmtDate() 134 return new Date(mills); in getGmtDate()
|
D | GeneralizedTimeTest.java | 25 import java.util.Date; 139 long new_date = ((Date) gtime.decode(gtime.encode(new Date(old_date)))) in test_Milliseconds() 147 long new_date = ((Date) gtime.decode(gtime.encode(new Date(old_date)))) in test_EncodeMilliseconds()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
D | X509CRLImplTest.java | 34 import java.util.Date; 91 private static Date thisUpdate = new Date(); 92 private static Date nextUpdate; 94 nextUpdate = new Date(thisUpdate.getTime()+100000); 105 new InvalidityDate(new Date()))); in crlEntryExtensions.addExtension() argument 123 private static Date revocationDate = new Date(); 349 new Validity(new Date(), new Date()), in testGetRevokedCertificate1() 358 new Validity(new Date(), new Date()), in testGetRevokedCertificate1() 367 new Validity(new Date(), new Date()), in testGetRevokedCertificate1() 496 new Validity(new Date(), new Date()), in testIsRevoked() [all …]
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | DateFormatTest.java | 25 import java.util.Date; 56 f1.format(new Date()).getClass() == String.class); in test_getAvailableLocales() 82 f2.format(new Date()).getClass() == String.class); in test_getDateInstance() 100 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 109 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 118 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 127 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceI() 148 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale() 156 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale() 164 f2.format(new Date()).getClass() == String.class); in test_getDateInstanceILjava_util_Locale() [all …]
|
D | SimpleDateFormatTest.java | 26 import java.util.Date; 81 public void parse(String pattern, String input, Date expected, in parse() 85 Date result = pFormat.parse(input, position); in parse() 94 String expected2, Date date) { in verifyFormatTimezone() 118 f2.format(new Date()).getClass() == String.class); in test_Constructor() 134 f2.format(new Date()).getClass() == String.class); in test_ConstructorLjava_lang_String() 168 f2.format(new Date()).getClass() == String.class); in test_ConstructorLjava_lang_StringLjava_text_DateFormatSymbols() 185 f2.format(new Date()).getClass() == String.class); in test_ConstructorLjava_lang_StringLjava_util_Locale() 295 format.format(new Date()); in test_equalsLjava_lang_Object() 302 df.format(new Date()); in test_equals_afterFormat() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
D | PrivateKeyUsagePeriodTest.java | 24 import java.util.Date; 34 Date notBeforeDate = new Date(200000000); in testEncodeDecode() 35 Date notAfterDate = new Date(300000000); in testEncodeDecode()
|
D | CertificateListTest.java | 32 import java.util.Date; 66 private static Date thisUpdate = new Date(); 67 private static Date nextUpdate; 69 nextUpdate = new Date(thisUpdate.getTime()+100000); 75 ASN1GeneralizedTime.getInstance().encode(new Date())); 108 private static Date revocationDate = new Date();
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 38 import java.util.Date; 76 private static final Date DEFAULT_TWO_DIGIT_YEAR_START; 99 public static Date parseDate(String dateValue) throws DateParseException { in parseDate() 113 public static Date parseDate(final String dateValue, String[] dateFormats) in parseDate() 132 public static Date parseDate( in parseDate() 135 Date startDate in parseDate() 179 public static String formatDate(Date date) { in formatDate() 196 public static String formatDate(Date date, String pattern) { in formatDate()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/ |
D | X509CertificateTest.java | 29 import java.util.Date; 166 Date date = new Date(); in testCheckValidity1() 167 Date nb_date = tbt_cert.getNotBefore(); in testCheckValidity1() 168 Date na_date = tbt_cert.getNotAfter(); in testCheckValidity1() 193 Date[] date = new Date[4]; in testCheckValidity2() 199 Date nb_date = tbt_cert.getNotBefore(); in testCheckValidity2() 200 Date na_date = tbt_cert.getNotAfter(); in testCheckValidity2()
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | CertStatus.java | 3 import java.util.Date; 13 Date revocationDate = null; 18 public Date getRevocationDate() in getRevocationDate() 26 public void setRevocationDate(Date revocationDate) in setRevocationDate()
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
D | DateSerializer.java | 38 import java.util.Date; 48 public Date readObject(ByteBuffer data, Class c) throws IOException { in readObject() 49 return new Date(data.getLong()); in readObject() 53 buffer.putLong(((Date)object).getTime()); in writeObject()
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
D | X509AttributeCertificate.java | 14 import java.util.Date; 41 public Date getNotBefore(); in getNotBefore() 48 public Date getNotAfter(); in getNotAfter() 84 public void checkValidity(Date date) in checkValidity()
|