Searched defs:date (Results 1 - 25 of 283) sorted by path

1234567891011>>

/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
H A DX509CertSelectorTest.java96 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 DX509CertificateTest.java87 public void checkValidity(Date date) argument
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DTestCertUtils.java469 public void checkValidity(Date date) argument
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDateTest.java96 * 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 DCookieStore.java70 * the specified {@link java.util.Date date}.
74 boolean clearExpired(Date date); argument
/external/apache-http/src/org/apache/http/cookie/
H A DCookie.java137 * @param date Current time
141 boolean isExpired(final Date date); argument
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicCookieStore.java135 * 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 DBasicClientCookie.java159 * 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 DBasicClientCookie2.java94 public boolean isExpired(final Date date) { argument
95 return this.discard || super.isExpired(date);
H A DDateUtils.java60 * 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 DX509AttributeCertificateHolder.java123 * 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 DX509CertificateHolder.java185 * 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 DTime.java60 * 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 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";
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 DX509CertificateObject.java139 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 DBcKeyStoreSpi.java102 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 DX509CertificateObject.java137 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 DX509AttributeCertificate.java37 * 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 DX509V1CertificateGenerator.java105 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 DX509V2AttributeCertificate.java151 Date date)
154 if (date.after(this.getNotAfter()))
159 if (date.before(this.getNotBefore()))
150 checkValidity( Date date) argument
H A DX509V3CertificateGenerator.java110 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 Dprtime.cc42 * 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 Dtime_mac.cc165 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 Dscoped_variant.cc180 void ScopedVariant::SetDate(DATE date) { argument
183 var_.date = date;
H A Dscoped_variant_unittest.cc117 DATE date; local
118 ::SystemTimeToVariantTime(&sys_time, &date);
120 var.SetDate(date);
122 EXPECT_EQ(date, V_DATE(&var));

Completed in 513 milliseconds

1234567891011>>