/libcore/luni/src/main/java/java/util/concurrent/locks/ |
Condition.java | 9 import java.util.Date; 385 * boolean aMethod(Date deadline) { 421 boolean awaitUntil(Date deadline) throws InterruptedException;
|
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificate_DNameTest.java | 20 import java.util.Date; 32 Date date1 = new Date(System.currentTimeMillis() - 1000); 33 Date date2 = new Date(System.currentTimeMillis());
|
SslCertificateTest.java | 32 import java.util.Date; 44 String date = DateFormat.getInstance().format(new Date()); local 45 new SslCertificate("c=129", "e=weji", date, date); 60 public void checkValidity(Date date) throws CertificateExpiredException, 85 public Date getNotAfter() { 86 return new Date(System.currentTimeMillis()); 90 public Date getNotBefore() [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
Timestamp_ImplTest.java | 26 import java.util.Date; 39 private Date now = new Date();
|
CodeSigner_ImplTest.java | 27 import java.util.Date; 39 private Date now = new Date();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
TimeTest.java | 20 import java.util.Date; 40 // verify that date before 2050 encoded as UTCTime 41 byte[] enc = Time.ASN1.encode(new Date(march2006)); 44 // verify that date after 2050 encoded as GeneralizedTime 45 enc = Time.ASN1.encode(new Date(march2332));
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
DiscussionHistory.java | 6 * $Date$ 25 import java.util.Date; 53 private Date since; 85 * Returns the since date to use to filter the messages received during that time. 89 * @return the since date to use to filter the messages received during that time. 91 public Date getSince() { 126 * Sets the since date to use to filter the messages received during that time. 130 * @param since the since date to use to filter the messages received during that time. 132 public void setSince(Date since) {
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
RevokedOffer.java | 3 * $Date$
22 import java.util.Date;
37 private Date timestamp;
49 String reason, Date timestamp) {
95 public Date getTimestamp() {
|
QueueUsersListener.java | 3 * $Date$
22 import java.util.Date;
46 * The date of oldest entry waiting in the queue was updated.
49 * @param oldestEntry the date of the oldest entry waiting in the queue.
51 public void oldestEntryUpdated(WorkgroupQueue queue, Date oldestEntry);
|
/libcore/luni/src/main/java/java/security/ |
Timestamp.java | 22 import java.util.Date; 32 private Date timestamp; 44 * date and time. 51 public Timestamp(Date timestamp, CertPath signerCertPath) { 59 this.timestamp = new Date(timestamp.getTime()); 67 * an instance of {@code Timestamp}, the two timestamps have an equal date 100 * Returns the date and time of this {@code Timestamp}. 102 * @return the date and time of this {@code Timestamp}. 104 public Date getTimestamp() { 105 return (Date) timestamp.clone() [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/history/ |
AgentChatSession.java | 3 * $Date$
22 import java.util.Date;
28 public Date startDate;
35 public AgentChatSession(Date date, long duration, String visitorsName, String visitorsEmail, String sessionID, String question) {
36 this.startDate = date;
44 public Date getStartDate() {
48 public void setStartDate(Date startDate) {
|
/external/smack/src/org/xbill/DNS/ |
SIG0.java | 6 import java.util.Date; 44 Date timeSigned = new Date(now); 45 Date timeExpires = new Date(now + validity * 1000);
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightState.java | 20 import java.util.Date; 106 + ", mYesterdaySunset=" + f.format(new Date(mYesterdaySunset)) 107 + ", mTodaySunrise=" + f.format(new Date(mTodaySunrise)) 108 + ", mTodaySunset=" + f.format(new Date(mTodaySunset)) 109 + ", mTomorrowSunrise=" + f.format(new Date(mTomorrowSunrise))
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
DateTimeField.java | 32 import java.util.Date; 35 private Date date; field in class:DateTimeField 38 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) { 40 this.date = date; 44 public Date getDate() { 45 return date; 56 Date date = null local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 19 import java.util.Date; 68 return dateFormat.format(new Date(time)); 78 return dateFormat.format(new Date());
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
MarshalDate.java | 23 import java.util.Date; 32 public static Class DATE_CLASS = new Date().getClass(); 41 writer.text(IsoDate.dateToString((Date) obj, IsoDate.DATE_TIME));
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
Transcripts.java | 3 * $Date$
109 * session or the date when the conversation started and finished. You will need to use the
114 private Date joinTime;
115 private Date leftTime;
118 public TranscriptSummary(String sessionID, Date joinTime, Date leftTime, List<AgentDetail> agentDetails) {
136 * Returns the Date when the conversation started.
138 * @return the Date when the conversation started.
140 public Date getJoinTime() {
145 * Returns the Date when the conversation finished. [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 22 import java.util.Date; 45 * If we fail to parse a date in a non-standard format, try each of these formats in sequence. 68 * Returns the date for {@code value}. Returns null if the value couldn't be 71 public static Date parse(String value) { 88 public static String format(Date value) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
AgeFileFilter.java | 21 import java.util.Date; 78 * a certain cutoff date. 82 public AgeFileFilter(Date cutoffDate) { 88 * of a certain cutoff date. 94 public AgeFileFilter(Date cutoffDate, boolean acceptOlder) {
|
/external/chromium_org/v8/test/webkit/ |
dfg-int32-to-double-on-set-local-and-exit.js | 37 a = Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now(); 42 return Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now() [all...] |
dfg-int32-to-double-on-set-local-and-sometimes-exit.js | 37 a = Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now(); 44 return Date.now() + Date.now() + Date.now() + Date.now() + Date.now() + Date.now() [all...] |
/external/chromium_org/v8/test/webkit/fast/js/ |
date-toisostring.js | 24 description("Tests for Date.toISOString"); 36 shouldThrow("Date.toISOString.call({})"); 37 shouldThrow("Date.toISOString.call(0)"); 39 shouldBe("new Date(-400).toISOString()", "'1969-12-31T23:59:59.600Z'"); 40 shouldBe("new Date(0).toISOString()", "'1970-01-01T00:00:00.000Z'"); 41 shouldBe("new Date('1 January 1500 UTC').toISOString()", "'1500-01-01T00:00:00.000Z'"); 42 shouldBe("new Date('1 January 2000 UTC').toISOString()", "'2000-01-01T00:00:00.000Z'"); 43 shouldBe("new Date('1 January 4000 UTC').toISOString()", "'4000-01-01T00:00:00.000Z'"); 44 shouldBe("new Date('1 January 100000 UTC').toISOString()", "'+100000-01-01T00:00:00.000Z'"); 45 shouldBe("new Date('1 January -1 UTC').toISOString()", "'-000001-01-01T00:00:00.000Z'") [all...] |
/libcore/luni/src/main/java/java/sql/ |
Date.java | 21 * A class which can consume and produce dates in SQL {@code Date} format. 23 * Dates are represented in SQL as {@code yyyy-MM-dd}. Note that this date 27 * This is unlike the familiar {@code java.util.Date} object, which also includes 32 * java.sql.Date} class are "normalized" to the time 00:00:00.000 GMT on the 33 * date implied by the time value. 36 public class Date extends java.util.Date { 41 * Constructs a {@code Date} object corresponding to the supplied year, 44 * @deprecated Use the constructor {@link #Date(long)} instead. 55 public Date(int theYear, int theMonth, int theDay) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
CodeSignerTest.java | 27 import java.util.Date; 44 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
|
TimestampTest.java | 26 import java.util.Date; 43 return new Object[] { new Timestamp(new Date(1146633251341L), cpath) };
|