/libcore/luni/src/main/java/java/security/cert/ |
X509CRLEntry.java | 22 import java.util.Date; 104 * Returns the date when the certificate is revoked. 106 * @return the date when the certificate is revoked. 108 public abstract Date getRevocationDate();
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 20 import java.util.Date; 31 assertEquals("Wed Dec 31 18:00:00 CST 1969", new Date(0).toString());
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Log.java | 26 import java.util.Date; 54 return new SimpleDateFormat("HH:mm:ss.SSS aaa").format(new Date(millis));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.23-2.js | 25 Description: Date.prototype.setTime 27 1. If the this value is not a Date object, generate a runtime error. 34 Date: 12 november 1997 39 var TITLE = "Date.prototype.setTime()"; 48 var now = (new Date()).valueOf(); 54 addTestCase( new Date(now), test_times[j] ); 59 "(new Date(NaN)).setTime()", 61 (new Date(NaN)).setTime() ); 64 "Date.prototype.setTime.length", 66 Date.prototype.setTime.length ) [all...] |
15.9.3.8-1.js | 24 ECMA Section: 15.9.3.8 The Date Constructor 25 new Date( value ) 27 object is set to the original Date prototype object, 28 the one that is the initial valiue of Date.prototype. 31 set to "Date". 41 5. Parse Result(1) as a date, in exactly the same manner 43 this date. 47 Date: 28 october 1997 69 var DATE = 11; 79 var TITLE = "Date constructor: new Date( value )" [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8IDBKeyCustom.cpp | 52 return v8::Date::New(key->date());
|
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCookieStore.java | 4 * $Date: 2008-05-03 03:39:28 -0700 (Sat, 03 May 2008) $ 36 import java.util.Date; 94 if (!cookie.isExpired(new Date())) { 130 * that have expired by the specified {@link java.util.Date date}. 134 * @see Cookie#isExpired(Date) 136 public synchronized boolean clearExpired(final Date date) { 137 if (date == null) { 142 if (it.next().isExpired(date)) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
JmeFormatter.java | 38 import java.util.Date; 49 private Date calendar = new Date();
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
WebkitTest.java | 26 import java.util.Date; 39 Date date = new Date(); local 52 date.setTime(time); 53 c.setTime(date);
|
/packages/apps/Camera/src/com/android/camera/ |
PanoUtil.java | 20 import java.util.Date; 24 Date date = new Date(dateTaken); local 26 return dateFormat.format(date);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoUtil.java | 20 import java.util.Date; 24 Date date = new Date(dateTaken); local 26 return dateFormat.format(date);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
TrackLabelProvider.java | 26 import java.util.Date; 50 return new Date(time).toString(); 56 return new Date(time).toString();
|
/frameworks/base/core/java/android/net/http/ |
SslCertificate.java | 37 import java.util.Date; 48 * SimpleDateFormat pattern for an ISO 8601 date 63 * Not-before date from the validity period 65 private final Date mValidNotBefore; 68 * Not-after date from the validity period 70 private final Date mValidNotAfter; 147 * @param validNotBefore The not-before date from the certificate 149 * @param validNotAfter The not-after date from the certificate 163 * @param validNotBefore The not-before date from the certificate validity period 164 * @param validNotAfter The not-after date from the certificate validity perio [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
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); 102 // Invalidity Date Extension 105 new InvalidityDate(new Date()))); 123 private static Date revocationDate = new Date(); 349 new Validity(new Date(), new Date()) [all...] |
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 23 import java.util.Date; 36 private final Date date; field in class:Outcome 42 this.date = new Date(); 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { 49 this.date = date; 56 this.date = new Date() [all...] |
/libcore/luni/src/main/java/javax/security/cert/ |
X509Certificate.java | 32 import java.util.Date; 147 public void checkValidity(Date date) 151 cert.checkValidity(date); 175 public Date getNotBefore() { 179 public Date getNotAfter() { 243 * Checks whether the certificate is valid at the specified date. 245 * @param date 246 * the date to check the validity against. 253 public abstract void checkValidity(Date date [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
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) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
TBSCertList.java | 28 import java.util.Date; 75 private final Date thisUpdate; 77 private final Date nextUpdate; 87 private final Date revocationDate; 95 Date revocationDate, Extensions crlEntryExtensions) { 109 public Date getRevocationDate() { 160 sb.append(prefix).append("Revocation Date: ").append(revocationDate); 179 (Date) values[1], 195 Name issuer, Date thisUpdate, Date nextUpdate [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatTest.java | 25 import java.util.Date; 56 f1.format(new Date()).getClass() == String.class); 82 f2.format(new Date()).getClass() == String.class); 100 f2.format(new Date()).getClass() == String.class); 109 f2.format(new Date()).getClass() == String.class); 118 f2.format(new Date()).getClass() == String.class); 127 f2.format(new Date()).getClass() == String.class); 148 f2.format(new Date()).getClass() == String.class); 156 f2.format(new Date()).getClass() == String.class); 164 f2.format(new Date()).getClass() == String.class) 202 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( local 251 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getDateInstance( local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 31 import java.util.Date; 283 * setDateAndTime(Date dateAndTime) method testing. Tests if CRLs with any 289 TestCRL crl = new TestCRL(new Date(200), new Date(300)); 293 selector.setDateAndTime(new Date(200)); 296 selector.setDateAndTime(new Date(250)); 299 selector.setDateAndTime(new Date(300)); 302 selector.setDateAndTime(new Date(150)); 305 selector.setDateAndTime(new Date(350)); 422 Date date = new Date(200) local 472 Date date = new Date(200); local 498 Date date = new Date(200); local [all...] |
/cts/tests/tests/net/src/android/net/http/cts/ |
SslErrorTest.java | 23 import java.util.Date; 33 mCertificate = new SslCertificate("foo", "bar", new Date(42), new Date(43));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 25 import java.util.Date; 39 private Date now = new Date();
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStoreSpi.java | 35 import java.util.Date; 58 public Date engineGetCreationDate(String alias) { 59 return new Date(0);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 12 import java.util.Date; 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"; 97 public Date getDate() 112 throw new IllegalStateException("invalid date string: " + e.getMessage());
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/ |
prettyload.js | 70 startTime = Date.now(); 81 if (Date.now() - startTime < MAX_DURATION) { 97 }, this.minDuration * MS_PER_SEC - (Date.now() - startTime));
|