/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
H A D | X509CertSelectorTest.java | 96 protected Date date = null; field in class:X509CertSelectorTest.TestCert 141 public TestCert(Date date) { argument 142 setDate(date); 213 public void setDate(Date date) { argument 214 this.date = new Date(date.getTime()); 245 public void checkValidity(Date date) argument 248 if (this.date == null) { 251 int result = this.date.compareTo(date); [all...] |
H A D | X509CertificateTest.java | 87 public void checkValidity(Date date) argument
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 469 public void checkValidity(Date date) argument
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
H A D | DateTest.java | 96 * Helper method to create a long milliseconds time from a supplied date and 99 static private long getTime(int year, int month, int date, int hour, argument 101 aCal.set(year, month, date, hour, minute, second); 250 // Convert to a date string ... and compare 295 String SQL_NOTVALID1 = "ABCDEF"; // Invalid date string 296 String SQL_NOTVALID2 = "12321.43.56"; // Invalid date string 297 String SQL_NOTVALID3 = null; // Invalid date string
|
/external/apache-http/src/org/apache/http/client/ |
H A D | CookieStore.java | 70 * the specified {@link java.util.Date date}. 74 boolean clearExpired(Date date); argument
|
/external/apache-http/src/org/apache/http/cookie/ |
H A D | Cookie.java | 137 * @param date Current time 141 boolean isExpired(final Date date); argument
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | BasicCookieStore.java | 135 * that have expired by the specified {@link java.util.Date date}. 141 public synchronized boolean clearExpired(final Date date) { argument 142 if (date == null) { 147 if (it.next().isExpired(date)) {
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | BasicClientCookie.java | 159 * Sets expiration date. 296 * @param date Current time 300 public boolean isExpired(final Date date) { argument 301 if (date == null) { 305 && cookieExpiryDate.getTime() <= date.getTime());
|
H A D | BasicClientCookie2.java | 94 public boolean isExpired(final Date date) { argument 95 return this.discard || super.isExpired(date);
|
H A D | DateUtils.java | 60 * Date format pattern used to parse HTTP date headers in RFC 1123 format. 65 * Date format pattern used to parse HTTP date headers in RFC 1036 format. 70 * Date format pattern used to parse HTTP date headers in ANSI C 94 * Parses a date value. The formats used for parsing the date value are retrieved from 97 * @param dateValue the date value to parse 99 * @return the parsed date 102 * supported date formats 109 * Parses the date value using the given date format 184 formatDate(Date date) argument 201 formatDate(Date date, String pattern) argument [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
H A D | X509AttributeCertificateHolder.java | 123 * Return the date before which this attribute certificate is not valid. 125 * @return the start date for the attribute certificate's validity period. 133 * Return the date after which this attribute certificate is not valid. 135 * @return the final date for the attribute certificate's validity period. 294 * Return whether or not this attribute certificate is valid on a particular date. 296 * @param date the date of interest. 299 public boolean isValidOn(Date date) argument 303 return !date.before(CertUtils.recoverDate(certValidityPeriod.getNotBeforeTime())) && !date [all...] |
H A D | X509CertificateHolder.java | 185 * Return the date before which this certificate is not valid. 195 * Return the date after which this certificate is not valid. 245 * Return whether or not this certificate is valid on a particular date. 247 * @param date the date of interest. 250 public boolean isValidOn(Date date) argument 252 return !date.before(x509Certificate.getStartDate().getDate()) && !date.after(x509Certificate.getEndDate().getDate());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | Time.java | 60 * Create a time object from a given date - if the year is in between 1950 65 Date date) 72 String d = dateF.format(date) + "Z"; 119 * Get the date+tine as a String in full form century format. 134 * Get java.util.Date version of date+time. 151 throw new IllegalStateException("invalid date string: " + e.getMessage()); 64 Time( Date date) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | Time.java | 41 * creates a time object from a given date - if the date is between 1950 46 Date date) 53 String d = dateF.format(date) + "Z"; 112 throw new IllegalStateException("invalid date string: " + e.getMessage()); 45 Time( Date date) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
H A D | X509CertificateObject.java | 139 Date date) 142 if (date.getTime() > this.getNotAfter().getTime()) // for other VM compatibility 147 if (date.getTime() < this.getNotBefore().getTime()) 138 checkValidity( Date date) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
H A D | BcKeyStoreSpi.java | 102 Date date = new Date(); field in class:BcKeyStoreSpi.StoreEntry 165 Date date, 170 this.date = date; 177 Date date, 183 this.date = date; 330 return date; 694 Date date = new Date(dIn.readLong()); 713 table.put(alias, new StoreEntry(alias, date, CERTIFICAT 163 StoreEntry( String alias, Date date, int type, Object obj) argument 175 StoreEntry( String alias, Date date, int type, Object obj, Certificate[] certChain) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | X509CertificateObject.java | 137 Date date) 140 if (date.getTime() > this.getNotAfter().getTime()) // for other VM compatibility 145 if (date.getTime() < this.getNotBefore().getTime()) 136 checkValidity( Date date) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
H A D | X509AttributeCertificate.java | 37 * Return the date before which the certificate is not valid. 39 * @return the "not valid before" date. 44 * Return the date after which the certificate is not valid. 46 * @return the "not valid afer" date. 84 public void checkValidity(Date date) argument
|
H A D | X509V1CertificateGenerator.java | 105 Date date) 107 tbsGen.setStartDate(new Time(date)); 111 Date date) 113 tbsGen.setEndDate(new Time(date)); 104 setNotBefore( Date date) argument 110 setNotAfter( Date date) argument
|
H A D | X509V2AttributeCertificate.java | 151 Date date) 154 if (date.after(this.getNotAfter())) 159 if (date.before(this.getNotBefore())) 150 checkValidity( Date date) argument
|
H A D | X509V3CertificateGenerator.java | 110 Date date) 112 tbsGen.setStartDate(new Time(date)); 116 Date date) 118 tbsGen.setEndDate(new Time(date)); 109 setNotBefore( Date date) argument 115 setNotAfter( Date date) argument
|
/external/chromium_org/base/third_party/nspr/ |
H A D | prtime.cc | 42 * NSPR date and time functions 181 // the most future date possible (year 2038). 185 // the most past date possible (year 1901). 490 * This parses a time/date string into a PRTime 493 * if the time/date string can't be parsed. 534 int date = -1; local 979 date = n3; 997 date = n1; 1006 date = n2; 1030 else if ((end - rest) == 2) /* two digits - date o [all...] |
/external/chromium_org/base/time/ |
H A D | time_mac.cc | 165 CFGregorianDate date; local 166 date.second = exploded.second + 168 date.minute = exploded.minute; 169 date.hour = exploded.hour; 170 date.day = exploded.day_of_month; 171 date.month = exploded.month; 172 date.year = exploded.year; 176 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) + 194 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); local 198 exploded->year = date [all...] |
/external/chromium_org/base/win/ |
H A D | scoped_variant.cc | 180 void ScopedVariant::SetDate(DATE date) { argument 183 var_.date = date;
|
H A D | scoped_variant_unittest.cc | 117 DATE date; local 118 ::SystemTimeToVariantTime(&sys_time, &date); 120 var.SetDate(date); 122 EXPECT_EQ(date, V_DATE(&var));
|