/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicMaxAgeHandler.java | 4 * $Date: 2007-10-04 08:53:50 -0700 (Thu, 04 Oct 2007) $ 33 import java.util.Date; 69 cookie.setExpiryDate(new Date(System.currentTimeMillis() + age * 1000L));
|
BasicClientCookie2.java | 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $ 34 import java.util.Date; 94 public boolean isExpired(final Date date) { 95 return this.discard || super.isExpired(date);
|
DateUtils.java | 4 * $Date: 2008-07-16 04:25:47 -0700 (Wed, 16 Jul 2008) $ 38 import java.util.Date; 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 81 private static final Date DEFAULT_TWO_DIGIT_YEAR_START; 94 * Parses a date value. The formats used for parsing the date value are retrieved fro [all...] |
/external/smack/src/org/xbill/DNS/ |
RRSIGRecord.java | 43 Date expire, Date timeSigned, int footprint, Name signer,
|
SIGRecord.java | 43 Date expire, Date timeSigned, int footprint, Name signer,
|
/external/chromium_org/v8/test/mjsunit/ |
function-call.js | 90 Date.prototype.toString, 91 Date.prototype.toDateString, 92 Date.prototype.toTimeString, 93 Date.prototype.toLocaleString, 94 Date.prototype.toLocaleDateString, 95 Date.prototype.toLocaleTimeString, 96 Date.prototype.valueOf, 97 Date.prototype.getTime, 98 Date.prototype.getFullYear, 99 Date.prototype.getUTCFullYear [all...] |
to_number_order.js | 61 var date = { valueOf: function() { x += 3; return 4; } }; 68 new Date(year, month, date, hours, minutes, seconds, ms); 70 assertEquals("1234567", x, "Date"); 73 Date(year, month, date, hours, minutes, seconds, ms); 74 assertEquals("", x, "Date not constructor"); 77 Date.UTC(year, month, date, hours, minutes, seconds, ms); 79 assertEquals("1234567", x, "Date.UTC") [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 26 import java.util.Date; 39 private Date now = new Date(); 73 Timestamp two1 = new Timestamp(new Date(9999), cpath);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509AttributeCertificate.java | 14 import java.util.Date; 37 * Return the date before which the certificate is not valid. 39 * @return the "not valid before" date. 41 public Date getNotBefore(); 44 * Return the date after which the certificate is not valid. 46 * @return the "not valid afer" date. 48 public Date getNotAfter(); 84 public void checkValidity(Date date)
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
DelayInformation.java | 4 * $Date$ 25 import java.util.Date; 44 * Date format according to the obsolete XEP-0091 specification. 45 * XEP-0091 recommends to use this old format for date-time instead of 48 * Date formats are not synchronized. Since multiple threads access the format concurrently, 57 private Date stamp; 65 public DelayInformation(Date stamp) { 92 * Returns the timestamp when the packet was originally sent. The returned Date is 97 public Date getStamp() {
|
Time.java | 4 * $Date$ 28 import java.util.Date; 90 utc = utcFormat.format(new Date( 99 public Date getTime() { 103 Date date = null; local 107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + 109 date = cal.getTime(); 114 return date; 122 public void setTime(Date time) [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
ItemPublishEvent.java | 17 import java.util.Date;
28 private Date originalDate;
62 * date signifies that this is delayed event. The list of subscription ids
69 * @param publishedDate The original publishing date of the events
71 public ItemPublishEvent(String nodeId, List<T> eventItems, List<String> subscriptionIds, Date publishedDate)
96 * with a delay date showing its time of original publication.
106 * Gets the original date the items were published. This is only
109 * @return Date items were published if {@link #isDelayed()} is true, null otherwise.
111 public Date getPublishedDate()
|
/libcore/luni/src/main/java/java/security/cert/ |
X509Certificate.java | 24 import java.util.Date; 103 * Checks whether the certificate is valid at the specified date. 105 * @param date 106 * the date to check the validity against. 113 public abstract void checkValidity(Date date) 254 * Returns the {@code notBefore} date from the validity period of the 259 public abstract Date getNotBefore(); 262 * Returns the {@code notAfter} date of the validity period of the 267 public abstract Date getNotAfter() [all...] |
CertificateRevokedException.java | 23 import java.util.Date; 40 private final Date revocationDate; 50 * @param revocationDate date the certificate was revoked 55 public CertificateRevokedException(Date revocationDate, CRLReason reason, 78 * Returns the date when the certificate was known to become invalid if 81 public Date getInvalidityDate() { 114 * Returns the date the certificate was revoked. 116 public Date getRevocationDate() { 117 return (Date) revocationDate.clone();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerUTCTimeEDTest.java | 28 import java.util.Date; 57 Date myDate = getGmtDate(1101980374187L); 102 Date myDate = new Date(1101980374187L); 109 assertEquals(187, (myDate.getTime() - ((Date) uTime.decode(dis)).getTime())); 137 private static Date getGmtDate(long mills) { 138 return new Date(mills);
|
DerGeneralizedTimeEDTest.java | 28 import java.util.Date; 54 Date myDate = getGmtDate(1101980374187L); 121 Date myDate = new Date(1101980374187L); 130 myDate = new Date(1101980374180L); 139 myDate = new Date(1101980374100L); 148 myDate = new Date(1101980374000L); 166 // date 100 ms 167 myDate = new Date(100L); 176 private static Date getGmtDate(long mills) [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Message.java | 19 import java.util.Date; 33 protected Date mInternalDate; 53 public Date getInternalDate() { 57 public void setInternalDate(Date internalDate) { 61 public abstract Date getReceivedDate() throws MessagingException; 63 public abstract Date getSentDate() throws MessagingException; 65 public abstract void setSentDate(Date sentDate) throws MessagingException;
|
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
AndroidDebugger.java | 15 import java.util.Date; 59 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + 71 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + 90 dateFormatter.format(new Date()) + " RCV PKT (" + 101 dateFormatter.format(new Date()) + " Connection closed (" + 108 dateFormatter.format(new Date()) + 116 dateFormatter.format(new Date()) + 124 dateFormatter.format(new Date()) + " Connection reconnected (" + 130 dateFormatter.format(new Date()) + " Connection (" +
|
/external/smack/src/de/measite/smack/ |
AndroidDebugger.java | 15 import java.util.Date; 59 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + 71 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + 90 dateFormatter.format(new Date()) + " RCV PKT (" + 101 dateFormatter.format(new Date()) + " Connection closed (" + 108 dateFormatter.format(new Date()) + 116 dateFormatter.format(new Date()) + 124 dateFormatter.format(new Date()) + " Connection reconnected (" + 130 dateFormatter.format(new Date()) + " Connection (" +
|
/external/smack/src/org/jivesoftware/smack/debugger/ |
ConsoleDebugger.java | 4 * $Date$ 29 import java.util.Date; 73 dateFormatter.format(new Date()) + " RCV (" + connection.hashCode() + 85 dateFormatter.format(new Date()) + " SENT (" + connection.hashCode() + 104 dateFormatter.format(new Date()) + " RCV PKT (" + 115 dateFormatter.format(new Date()) + " Connection closed (" + 122 dateFormatter.format(new Date()) + 130 dateFormatter.format(new Date()) + 138 dateFormatter.format(new Date()) + " Connection reconnected (" + 144 dateFormatter.format(new Date()) + " Connection (" [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 36 import java.util.Date; 59 private Date thisUpdate = null; 60 private Date nextUpdate = null; 66 public TestCRL(Date thisUpdate, Date nextUpdate) { 74 public void setUpdateDates(Date thisUpdate, Date nextUpdate) { 140 public Date getThisUpdate() { 144 public Date getNextUpdate() { 392 * setDateAndTime(Date dateAndTime) method testing 531 Date date = new Date(200); local 560 Date date = new Date(200); local 587 Date date = new Date(200); local [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
CsrUtil.java | 22 import java.util.Date; 50 Date notBefore = new Date(calendar.getTimeInMillis()); 52 Date notAfter = new Date(calendar.getTimeInMillis()); 62 KeyPair rootPair, Date notBefore, Date notAfter, BigInteger serialNumber) 111 Date notBefore = new Date(calendar.getTimeInMillis()); 113 Date notAfter = new Date(calendar.getTimeInMillis()) [all...] |
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageLogger.java | 23 import java.util.Date; 40 message = DATE_FORMAT.format(new Date(System.currentTimeMillis())) + ": " + message;
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessageLogger.java | 23 import java.util.Date; 40 message = DATE_FORMAT.format(new Date(System.currentTimeMillis())) + ": " + message;
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessageLogger.java | 23 import java.util.Date; 40 message = DATE_FORMAT.format(new Date(System.currentTimeMillis())) + ": " + message;
|