Searched defs:date (Results 1 - 25 of 34) sorted by relevance

12

/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DInvalidityDate.java37 // invalidity date value
38 private final Date date; field in class:InvalidityDate
41 * Constructs the object on the base of the invalidity date value.
43 public InvalidityDate(Date date) { argument
44 this.date = date;
52 date = (Date) ASN1.decode(encoding);
56 * Returns the invalidity date.
59 return date;
68 encoding = ASN1.encode(date);
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
H A DKEKIdentifier.java17 private DERGeneralizedTime date; field in class:KEKIdentifier
22 DERGeneralizedTime date,
26 this.date = date;
42 date = (DERGeneralizedTime)seq.getObjectAt(1);
50 date = (DERGeneralizedTime)seq.getObjectAt(1);
103 return date;
116 * date GeneralizedTime OPTIONAL,
127 if (date != null)
129 v.add(date);
20 KEKIdentifier( byte[] keyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other) argument
[all...]
H A DTime.java39 * creates a time object from a given date - if the date is between 1950
44 Date date)
51 String d = dateF.format(date) + "Z";
43 Time( Date date) argument
H A DRecipientKeyIdentifier.java16 private DERGeneralizedTime date; field in class:RecipientKeyIdentifier
21 DERGeneralizedTime date,
25 this.date = date;
42 date = (DERGeneralizedTime)seq.getObjectAt(1);
50 date = (DERGeneralizedTime)seq.getObjectAt(1);
100 return date;
114 * date GeneralizedTime OPTIONAL,
127 if (date != null)
129 v.add(date);
19 RecipientKeyIdentifier( ASN1OctetString subjectKeyIdentifier, DERGeneralizedTime date, OtherKeyAttribute other) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DTime.java41 * creates a time object from a given date - if the date is between 1950
46 Date date)
53 String d = dateF.format(date) + "Z";
45 Time( Date date) argument
/dalvik/libcore/security/src/main/java/javax/security/cert/
H A DX509Certificate.java170 public void checkValidity(Date date)
174 cert.checkValidity(date);
270 * Checks whether the certificate is valid at the specified date.
272 * @param date
273 * the date to check the validity against.
281 public abstract void checkValidity(Date date) argument
382 * Returns the {@code notBefore} date from the validity period of the
391 * Returns the {@code notAfter} date of the validity period of the
/dalvik/libcore/security/src/main/java/java/security/cert/
H A DX509Certificate.java116 * Checks whether the certificate is valid at the specified date.
118 * @param date
119 * the date to check the validity against.
127 public abstract void checkValidity(Date date) argument
282 * Returns the {@code notBefore} date from the validity period of the
291 * Returns the {@code notAfter} date of the validity period of the
H A DPKIXParameters.java54 private Date date; field in class:PKIXParameters
352 return date == null ? null : (Date)date.clone();
359 * @param date
364 public void setDate(Date date) { argument
365 this.date = (date == null ? null : new Date(date.getTime()));
621 sb.append(date);
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
H A DX509V1CertificateGenerator.java100 Date date)
102 tbsGen.setStartDate(new Time(date));
106 Date date)
108 tbsGen.setEndDate(new Time(date));
99 setNotBefore( Date date) argument
105 setNotAfter( Date date) argument
H A DX509V2CRLGenerator.java101 Date date)
103 tbsGen.setThisUpdate(new DERUTCTime(dateF.format(date) + "Z"));
107 Date date)
109 tbsGen.setNextUpdate(new DERUTCTime(dateF.format(date) + "Z"));
100 setThisUpdate( Date date) argument
106 setNextUpdate( Date date) argument
H A DX509V3CertificateGenerator.java99 Date date)
101 tbsGen.setStartDate(new Time(date));
105 Date date)
107 tbsGen.setEndDate(new Time(date));
98 setNotBefore( Date date) argument
104 setNotAfter( Date date) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DX509AttributeCertificate.java38 * Return the date before which the certificate is not valid.
40 * @return the "not valid before" date.
45 * Return the date after which the certificate is not valid.
47 * @return the "not valid afer" date.
89 public void checkValidity(Date date) argument
H A DX509V1CertificateGenerator.java104 Date date)
106 tbsGen.setStartDate(new Time(date));
110 Date date)
112 tbsGen.setEndDate(new Time(date));
103 setNotBefore( Date date) argument
109 setNotAfter( Date date) argument
H A DX509V2AttributeCertificate.java133 Date date)
136 if (date.after(this.getNotAfter()))
141 if (date.before(this.getNotBefore()))
132 checkValidity( Date date) argument
H A DX509V2AttributeCertificateGenerator.java92 Date date)
94 acInfoGen.setStartDate(new DERGeneralizedTime(date));
98 Date date)
100 acInfoGen.setEndDate(new DERGeneralizedTime(date));
91 setNotBefore( Date date) argument
97 setNotAfter( Date date) argument
H A DX509V2CRLGenerator.java105 Date date)
107 tbsGen.setThisUpdate(new Time(date));
111 Date date)
113 tbsGen.setNextUpdate(new Time(date));
104 setThisUpdate( Date date) argument
110 setNextUpdate( Date date) argument
H A DX509V3CertificateGenerator.java107 Date date)
109 tbsGen.setStartDate(new Time(date));
113 Date date)
115 tbsGen.setEndDate(new Time(date));
106 setNotBefore( Date date) argument
112 setNotAfter( Date date) argument
/dalvik/libcore/sql/src/test/java/tests/java/sql/
H A DSelectFunctionalityTest.java53 private static Date date; field in class:SelectFunctionalityTest
107 date = new Date(currentTime);
170 date.toString(), result.getDate("fdate").toString());
210 prepStatement.setDate(9, date);
237 date.toString(), result.getDate("fdate").toString());
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DTimeZoneTest.java222 public boolean inDaylightTime(Date date) { argument
/dalvik/libcore/sql/src/main/java/java/sql/
H A DTimestamp.java30 * addition to the regular date/time value which has millisecond resolution.
32 * The {@code Timestamp} class consists of a regular date/time value, where only
376 String date = format(getDate(), 2);
381 return year + '-' + month + '-' + date + ' ' + hours + ':' + minutes
388 private String format(int date, int digits) { argument
389 StringBuilder dateStringBuffer = new StringBuilder(String.valueOf(date));
/dalvik/libcore/luni/src/main/java/java/util/
H A DDate.java50 * Initializes this {@code Date} instance to the current date and time.
60 * the specified date.
81 * Constructs a new {@code Date} initialized to the specified date and time in the
107 * Constructs a new {@code Date} initialized to the specified date and time in the
147 * Constructs a new {@code Date} initialized to the date and time parsed from the
164 * @param date
170 public boolean after(Date date) { argument
171 return milliseconds > date.milliseconds;
177 * @param date
183 public boolean before(Date date) { argument
214 compareTo(Date date) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CertImpl.java173 public void checkValidity(Date date) argument
181 long time = date.getTime();
184 throw new CertificateNotYetValidException("current time: " + date
190 throw new CertificateExpiredException("current time: " + date
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DX509CertificateObject.java84 Date date)
87 if (date.after(this.getNotAfter()))
92 if (date.before(this.getNotBefore()))
83 checkValidity( Date date) argument
/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DX509Certificate2Test.java299 public void checkValidity(Date date) { argument
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDateTest.java102 * Helper method to create a long milliseconds time from a supplied date and
105 static private long getTime(int year, int month, int date, int hour, argument
107 aCal.set(year, month, date, hour, minute, second);
357 String SQL_NOTVALID1 = "ABCDEF"; // Invalid date string
358 String SQL_NOTVALID2 = "12321.43.56"; // Invalid date string
359 String SQL_NOTVALID3 = null; // Invalid date string

Completed in 255 milliseconds

12