Searched refs:Date (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DDateTest.java21 import java.util.Date;
27 static class MockDate extends Date{
44 * @tests java.util.Date#Date()
47 // Test for method java.util.Date()
51 long now = new Date().getTime();
57 * @tests java.util.Date#Date(int, int, int)
60 // Test for method java.util.Date(int, int, int)
61 Date d
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DCertStatus.java3 import java.util.Date;
13 Date revocationDate = null;
18 public Date getRevocationDate()
26 public void setRevocationDate(Date revocationDate)
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
H A DDateHelper.java18 import java.util.Date;
21 * Converts ISO Dates (seconds since 1/1/1904) to Date and vice versa.
25 * Converts a long value with seconds since 1/1/1904 to Date.
28 * @return date the corresponding <code>Date</code>
30 static public Date convert(long secondsSince) {
31 return new Date((secondsSince - 2082844800L) * 1000L);
41 static public long convert(Date date) {
H A DTrackMetaData.java18 import java.util.Date;
26 private Date modificationTime = new Date();
27 private Date creationTime = new Date();
59 public Date getModificationTime() {
63 public void setModificationTime(Date modificationTime) {
67 public Date getCreationTime() {
71 public void setCreationTime(Date creationTime) {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DASN1GeneralizedTime.java3 import java.util.Date;
13 public ASN1GeneralizedTime(Date time)
H A DASN1UTCTime.java3 import java.util.Date;
13 public ASN1UTCTime(Date time)
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DMetadata.idl34 readonly attribute Date modificationTime;
/external/smack/src/org/jivesoftware/smackx/workgroup/
H A DQueueUser.java3 * $Date$
22 import java.util.Date;
37 private Date joinDate;
45 public QueueUser (String uid, int position, int time, Date joinedAt) {
81 public Date getQueueJoinTimestamp () {
/external/apache-http/src/org/apache/http/cookie/
H A DCookie.java4 * $Date: 2007-09-22 03:56:04 -0700 (Sat, 22 Sep 2007) $
34 import java.util.Date;
76 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
81 * @return Expiration {@link Date}, or <tt>null</tt>.
83 Date getExpiryDate();
136 boolean isExpired(final Date date);
H A DSetCookie.java4 * $Date: 2008-01-31 11:26:47 -0800 (Thu, 31 Jan 2008) $
34 import java.util.Date;
64 * @param expiryDate the {@link Date} after which this cookie is no longer valid.
69 void setExpiryDate (Date expiryDate);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
H A DPrivateKeyUsagePeriodTest.java24 import java.util.Date;
34 Date notBeforeDate = new Date(200000000);
35 Date notAfterDate = new Date(300000000);
H A DTimeTest.java20 import java.util.Date;
41 byte[] enc = Time.ASN1.encode(new Date(march2006));
45 enc = Time.ASN1.encode(new Date(march2332));
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DDateSerializer.java38 import java.util.Date;
41 * Date serializer.
48 public Date readObject(ByteBuffer data, Class c) throws IOException {
49 return new Date(data.getLong());
53 buffer.putLong(((Date)object).getTime());
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DDateTest.java20 import java.sql.Date;
27 * JUnit Testcase for the java.sql.Date class
56 // Date strings
72 // Date string array for London (GMT)
76 // Date string array for New York - sometimes a day earlier than London
80 // Date string for Tokyo
107 * Test of the Date(int, int, int) constructor - now deprecated but still
118 Date theDate = new Date(init1[i], init2[i], init3[i]);
125 * Test of the Date( lon
[all...]
/external/apache-http/src/org/apache/http/client/
H A DCookieStore.java4 * $Date: 2007-12-15 06:45:48 -0800 (Sat, 15 Dec 2007) $
33 import java.util.Date;
65 * the specified {@link java.util.Date date}.
69 boolean clearExpired(Date date);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
H A DTimestamp_ImplTest.java26 import java.util.Date;
40 private Date now = new Date();
H A DCodeSigner_ImplTest.java27 import java.util.Date;
39 private Date now = new Date();
/external/smack/src/org/jivesoftware/smackx/muc/
H A DDiscussionHistory.java6 * $Date$
25 import java.util.Date;
53 private Date since;
91 public Date getSince() {
132 public void setSince(Date since) {
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
H A DRevokedOffer.java3 * $Date$
22 import java.util.Date;
37 private Date timestamp;
49 String reason, Date timestamp) {
95 public Date getTimestamp() {
H A DQueueUsersListener.java3 * $Date$
22 import java.util.Date;
51 public void oldestEntryUpdated(WorkgroupQueue queue, Date oldestEntry);
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/serialization/
H A DKerberosTicketTest.java23 import java.util.Date;
54 private static final Date authTime = new Date(0);
56 private static final Date startTime = new Date(1);
58 private static final Date endTime = new Date(2);
60 private static final Date renewTill = new Date(3);
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/history/
H A DAgentChatSession.java3 * $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) {
44 public Date getStartDate() {
48 public void setStartDate(Date startDate) {
/external/smack/src/org/xbill/DNS/
H A DSIG0.java6 import java.util.Date;
44 Date timeSigned = new Date(now);
45 Date timeExpires = new Date(now + validity * 1000);
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
H A DTranscripts.java3 * $Date$
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.
147 * @return the Date whe
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
H A DCodeSignerTest.java27 import java.util.Date;
45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);

Completed in 2197 milliseconds

1234567891011>>