/frameworks/base/keystore/tests/src/android/security/ |
KeyPairGeneratorSpecTest.java | 22 import java.util.Date; 36 private static final Date NOW = new Date(NOW_MILLIS - (NOW_MILLIS % 1000L)); 39 private static final Date NOW_PLUS_10_YEARS = new Date(NOW.getYear() + 10, 0, 1);
|
/frameworks/base/keystore/java/android/security/ |
KeyPairGeneratorSpec.java | 31 import java.util.Date; 91 private final Date mStartDate; 93 private final Date mEndDate; 111 * {@code serialNumber}, and the validity date starting at {@code startDate} 123 * @param endDate the end date of the self-signed certificate validity 131 Date startDate, Date endDate, int flags) { 275 * Gets the start date to be used on the X.509 certificate that will be put 278 public Date getStartDate() { 283 * Gets the end date to be used on the X.509 certificate that will be put i [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...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdebug/ |
ttsdebug.js | 25 var elapsed = ((new Date() - callTime) / 1000).toFixed(3); 57 var callTime = new Date(); 68 startTime = new Date(); 80 var endTime = new Date(); 105 var callTime = new Date(); 116 startTime = new Date(); 120 var endTime = new Date(); 140 var callTime = new Date(); 151 startTime = new Date(); 155 var endTime = new Date(); [all...] |
/external/smack/src/org/xbill/DNS/ |
SIGBase.java | 22 protected Date expire, timeSigned; 32 long origttl, Date expire, Date timeSigned, int footprint, Name signer, 57 expire = new Date(1000 * in.readU32()); 58 timeSigned = new Date(1000 * in.readU32()); 146 public Date 152 public Date
|
/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...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/ |
SearchParams.java | 25 import java.util.Date; 39 // The start date (GreaterThan) for date-windowing results 40 public final Date mStartDate; 41 // The end date (LessThan) for date-windowing results 42 public final Date mEndDate; 74 public SearchParams(long mailboxId, String filter, long searchMailboxId, Date startDate, 75 Date endDate) { 168 mStartDate = new Date((Long)dateWindow.get(0)) [all...] |
/external/chromium_org/v8/test/webkit/ |
get-by-pname-non-final-object.js | 35 var o = new Date(); 36 var p = new Date(); 37 var q = new Date(); 38 var r = new Date(); 39 var s = new Date();
|
prototypes.js | 32 shouldBe("(new Date).__proto__", "Date.prototype"); 37 shouldBe("Date.prototype.__proto__", "Object.prototype"); 42 shouldBe("Date.__proto__", "Object.__proto__"); 50 shouldBe("Object.getPrototypeOf(new Date)", "Date.prototype"); 55 shouldBe("Object.getPrototypeOf(Date.prototype)", "Object.prototype"); 60 shouldBe("Object.getPrototypeOf(Date)", "Object.__proto__"); 68 shouldBeTrue("Date.prototype.isPrototypeOf(new Date)"); [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...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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 | 26 import java.util.Date; 40 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; 57 public Date engineGetCreationDate(String alias) { 58 return new Date(0);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 5 import java.util.Date; 25 * This has a constructor using java.util.Date for input which generates 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. 136 public Date getDate( [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 5 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_org/content/test/data/indexeddb/ |
key_types_test.js | 26 "new Date(0)", 27 "new Date(1000)", 28 "new Date(1317399931023)", 55 "[new Date(0)]", 56 "[new Date(1000)]", 57 "[new Date(1317399931023)]",
|
/external/chromium_org/v8/test/intl/overrides/ |
caching.js | 32 var startTime = new Date(); 36 var endTime = new Date(); 40 startTime = new Date(); 44 endTime = new Date(); 49 startTime = new Date(); 53 endTime = new Date();
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
WorkgroupQueue.java | 3 * $Date$
36 private Date oldestEntry = null;
119 * Returns the date of the oldest request waiting in the queue. If there
122 * @return the date of the oldest request in the queue.
124 public Date getOldestEntry() {
128 void setOldestEntry(Date oldestEntry) {
|
Offer.java | 3 * $Date$
26 import java.util.Date;
47 private Date expiresDate;
62 * @param expiresDate the date at which this offer expires.
69 String userJID, String workgroupName, Date expiresDate,
134 * The date when the offer will expire. The agent must {@link #accept()}
135 * the offer before the expiration date or the offer will lapse and be
139 * @return the date at which this offer expires.
141 public Date getExpiresDate() {
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CRL.java | 29 import java.util.Date; 191 public abstract Date getThisUpdate(); 199 public abstract Date getNextUpdate();
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapString.java | 26 import java.util.Date; 33 * Also, this class class may contain more arbitrary value like "BODY[HEADER.FIELDS ("DATE")]". 59 // en_US-like date format is used like "01-Jan-2009 11:20:39 -0800", so this should be 66 private Date mParsedDate; 121 * @return whether it can be parsed as a date using {@link #DATE_TIME_FORMAT}. 134 LogUtils.w(Logging.LOG_TAG, getString() + " can't be parsed as a date."); 140 * @return value it can be parsed as a {@link Date}, or null otherwise. 142 public final Date getDateOrNull() {
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
FileLogger.java | 24 import java.util.Date; 71 Date d = new Date();
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-builtinbust-7.js | 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0)); 21 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", options); }); 25 date.toLocaleDateString("de-DE", options_incomplete); 29 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", undefined); }); 30 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE"); }); 31 assertThrows(function() { date.toLocaleDateString("de-DE", null); }, TypeError);
|