/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | DateTest.java | 26 import java.util.Date; 31 @TestTargetClass(Date.class) 35 * @tests java.util.Date#Date() 40 method = "Date", 44 // Test for method java.util.Date() 48 long now = new Date().getTime(); 54 * @tests java.util.Date#Date(int, int, int) 59 method = "Date", [all...] |
H A D | TimerTest.java | 25 import java.util.Date; 389 * @tests java.util.Timer#schedule(java.util.TimerTask, java.util.Date) 395 args = {java.util.TimerTask.class, java.util.Date.class} 403 Date d = new Date(System.currentTimeMillis() + 100); 419 d = new Date(System.currentTimeMillis() + 100); 436 d = new Date(-100); 451 d = new Date(System.currentTimeMillis() + 100); 478 d = new Date(-100); 494 d = new Date(Syste [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | PrivateKeyUsagePeriod.java | 25 import java.util.Date; 51 private final Date notBeforeDate; 53 private final Date notAfterDate; 59 * @param notBeforeDate: Date 60 * @param notAfterDate: Date 62 public PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate) { 68 // @param notBeforeDate: Date 69 // @param notAfterDate: Date 72 private PrivateKeyUsagePeriod(Date notBeforeDat [all...] |
H A D | Validity.java | 25 import java.util.Date; 48 private final Date notBefore; 50 private final Date notAfter; 56 * @param notBefore: Date 57 * @param notAfter: Date 59 public Validity(Date notBefore, Date notAfter) { 68 public Date getNotBefore() { 76 public Date getNotAfter() { 99 return new Validity((Date) value [all...] |
H A D | InvalidityDate.java | 21 import java.util.Date; 27 * CRL Entry's Invalidity Date Extension (OID = 2.5.29.24). 38 private final Date date; 43 public InvalidityDate(Date date) { 52 date = (Date) ASN1.decode(encoding); 58 public Date getDate() { 78 buffer.append(prefix).append("Invalidity Date: [ ") //$NON-NLS-1$
|
H A D | TBSCertList.java | 28 import java.util.Date; 79 private final Date thisUpdate; 81 private final Date nextUpdate; 91 private final Date revocationDate; 99 Date revocationDate, Extensions crlEntryExtensions) { 113 public Date getRevocationDate() { 169 buffer.append(prefix).append("Revocation Date: ") //$NON-NLS-1$ 191 (Date) values[1], 223 Name issuer, Date thisUpdate) { 248 Name issuer, Date thisUpdat [all...] |
H A D | Time.java | 53 if (((java.util.Date) object).getTime() < JAN_01_2050) {
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
H A D | DateTest.java | 26 import java.util.Date; 28 @TestTargetClass(Date.class) 32 * @tests java.util.Date#parse(String) 44 -5400000, Date.parse("Sat, 1 Jan 1970 +0130 00:00:00")); 46 858600000, Date.parse("00:00:00 GMT +0130 Sat, 11 Jan 1970"));
|
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
H A D | DateTest.java | 25 import java.sql.Date; 30 @TestTargetClass(Date.class) 32 * JUnit Testcase for the java.sql.Date class 61 // Date strings 77 // Date string array for London (GMT) 81 // Date string array for New York - sometimes a day earlier than London 85 // Date string for Tokyo 112 * Test of the Date(int, int, int) constructor - now deprecated but still 118 method = "Date", 129 Date theDat [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/ |
H A D | Condition.java | 9 import java.util.Date; 383 * synchronized boolean aMethod(Date deadline) { 416 boolean awaitUntil(Date deadline) throws InterruptedException;
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | Timestamp.java | 21 import java.util.Date; 34 private Date timestamp; 53 public Timestamp(Date timestamp, CertPath signerCertPath) { 61 this.timestamp = new Date(timestamp.getTime()); 106 public Date getTimestamp() { 107 return (Date) timestamp.clone();
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | Date.java | 21 * A class which can consume and produce dates in SQL {@code Date} format. 27 * This is unlike the familiar {@code java.util.Date} object, which also includes 32 * java.sql.Date} class are "normalized" to the time 00:00:00.000 GMT on the 35 public class Date extends java.util.Date { class in inherits:java.util.Date 40 * Constructs a {@code Date} object corresponding to the supplied year, 43 * @deprecated Use the constructor {@link #Date(long)}. 54 public Date(int theYear, int theMonth, int theDay) { method in class:Date 65 * milliseconds) stored in the {@code Date} object is adjusted to 69 public Date(lon method in class:Date [all...] |
/dalvik/libcore/luni/src/test/java/java/util/ |
H A D | DateTest.java | 28 assertEquals("Wed Dec 31 18:00:00 CST 1969", new Date(0).toString());
|
/dalvik/libcore/security/src/main/java/java/security/cert/ |
H A D | X509Certificate.java | 24 import java.util.Date; 116 public abstract void checkValidity(Date date) 263 public abstract Date getNotBefore(); 271 public abstract Date getNotAfter();
|
H A D | X509CRLEntry.java | 25 import java.util.Date; 111 public abstract Date getRevocationDate();
|
H A D | X509CRLSelector.java | 26 import java.util.Date; 252 public void setDateAndTime(Date dateAndTime) { 344 public Date getDateAndTime() { 348 return new Date(dateAndTime); 385 result.append("\n dateAndTime: " + (new Date(dateAndTime))); //$NON-NLS-1$ 434 Date thisUp = crlist.getThisUpdate(); 435 Date nextUp = crlist.getNextUpdate();
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
H A D | X509AttributeCertificate.java | 14 import java.util.Date; 42 public Date getNotBefore(); 49 public Date getNotAfter(); 89 public void checkValidity(Date date)
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | X509CRLSelector2Test.java | 35 import java.util.Date; 342 * setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any 350 args = {java.util.Date.class} 354 TestCRL crl = new TestCRL(new Date(200), new Date(300)); 358 selector.setDateAndTime(new Date(200)); 361 selector.setDateAndTime(new Date(250)); 364 selector.setDateAndTime(new Date(300)); 367 selector.setDateAndTime(new Date(150)); 370 selector.setDateAndTime(new Date(35 [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | Time.java | 5 import java.util.Date; 44 Date date) 95 public Date getDate()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | Time.java | 5 import java.util.Date; 46 Date date) 97 public Date getDate()
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | DateFormatTest.java | 33 import java.util.Date; 49 public Date parse(String source, ParsePosition pos) { 55 public StringBuffer format(Date date, StringBuffer toAppendTo, 105 * @tests java.text.DateFormat#format(java.util.Date) Test of method 106 * java.text.DateFormat#format(java.util.Date). 112 args = {java.util.Date.class} 118 Date current = new Date(); 142 Date current = new Date(); [all...] |
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Date.java | 31 * {@code Date} represents a specific moment in time, to the millisecond. 39 public class Date implements Serializable, Cloneable, Comparable<Date> { class in inherits:Serializable,Cloneable,Comparable 44 private static int creationYear = new Date().getYear(); 56 * Initializes this {@code Date} instance to the current time. 58 public Date() { method in class:Date 63 * Constructs a new {@code Date} initialized to midnight in the default {@code TimeZone} on 77 public Date(int year, int month, int day) { method in class:Date 84 * Constructs a new {@code Date} initialized to the specified date and time in the 102 public Date(in method in class:Date 129 public Date(int year, int month, int day, int hour, int minute, int second) { method in class:Date 142 public Date(long milliseconds) { method in class:Date 156 public Date(String string) { method in class:Date [all...] |
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
H A D | SimpleFormatter.java | 23 import java.util.Date; 49 new Object[] { new Date(r.getMillis()) }));
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | TimestampTest.java | 32 import java.util.Date; 49 private Date now = new Date(); 59 args = {java.util.Date.class, java.security.cert.CertPath.class} 99 Timestamp two1 = new Timestamp(new Date(9999), cpath);
|
/dalvik/libcore/security/src/main/java/javax/security/cert/ |
H A D | X509Certificate.java | 33 import java.util.Date; 164 public void checkValidity(Date date) 192 public Date getNotBefore() { 196 public Date getNotAfter() { 270 public abstract void checkValidity(Date date) 364 public abstract Date getNotBefore(); 372 public abstract Date getNotAfter();
|