HomeSort by relevance Sort by last modified time
    Searched refs:Date (Results 1 - 25 of 932) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DateTest.java 21 import java.util.Date;
29 * java.util.Date#Date()
32 // Test for method java.util.Date()
36 long now = new Date().getTime();
37 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
42 * java.util.Date#Date(int, int, int)
45 // Test for method java.util.Date(int, int, int)
46 Date d1 = new Date(70, 0, 1); // the epoch + local tim
53 Date date = new Date(99, 5, 22); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertStatus.java 3 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/
DateHelper.java 18 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);
36 * Converts a date as long to a mac date as long
38 * @param date date to conver
    [all...]
TrackMetaData.java 18 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/chromium_org/v8/test/mjsunit/
date.js 30 // Test date construction from other dates.
31 var date0 = new Date(1111);
32 var date1 = new Date(date0);
35 var date2 = new Date(date0.toString());
39 var date0 = Date.parse("Dec 25 1995 1:30");
40 var date1 = Date.parse("Dec 25, 1995 1:30");
41 var date2 = Date.parse("Dec 25 1995, 1:30");
42 var date3 = Date.parse("Dec 25, 1995, 1:30");
49 var dMax = new Date(8.64e15);
55 var dOverflow = new Date(8.64e15+1)
    [all...]
  /external/chromium_org/v8/test/mjsunit/regress/
regress-3116.js 6 var str = (new Date(2014, 0, 10)).toString();
21 (new Date(2014, 2, 29, 22, 59)).toString());
23 (new Date(2014, 2, 29, 22, 59)).toUTCString());
25 (new Date(2014, 2, 29, 23, 0)).toString());
27 (new Date(2014, 2, 29, 23, 0)).toUTCString());
29 (new Date(2014, 2, 29, 23, 59)).toString());
31 (new Date(2014, 2, 29, 23, 59)).toUTCString());
33 (new Date(2014, 2, 30, 0, 0)).toString());
35 (new Date(2014, 2, 30, 0, 0)).toUTCString());
37 (new Date(2014, 2, 30, 0, 59)).toString())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1GeneralizedTime.java 3 import java.util.Date;
13 public ASN1GeneralizedTime(Date time)
ASN1UTCTime.java 3 import java.util.Date;
13 public ASN1UTCTime(Date time)
  /external/smack/src/org/jivesoftware/smackx/workgroup/
QueueUser.java 3 * $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/
Cookie.java 4 * $Date: 2007-09-22 03:56:04 -0700 (Sat, 22 Sep 2007) $
34 import java.util.Date;
81 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
86 * @return Expiration {@link Date}, or <tt>null</tt>.
88 Date getExpiryDate();
137 * @param date Current time
141 boolean isExpired(final Date date);
SetCookie.java 4 * $Date: 2008-01-31 11:26:47 -0800 (Thu, 31 Jan 2008) $
34 import java.util.Date;
64 * Sets expiration date.
69 * @param expiryDate the {@link Date} after which this cookie is no longer valid.
74 void setExpiryDate (Date expiryDate);
  /libcore/luni/src/test/java/tests/java/sql/
SqlDateTest.java 17 import java.sql.Date;
28 for (String date : dates) {
29 Date.valueOf(date);
42 for (String date : invalidDates) {
44 Date.valueOf(date);
  /external/chromium_org/v8/test/webkit/
date-constructor.js 25 'This test case tests the Date constructor. ' +
26 'In particular, it tests many cases of creating a Date from another Date ' +
27 'and creating a Date from an object that has both valueOf and toString functions.'
34 shouldBe('isNaN(new Date(""))', 'true');
36 var timeZoneOffset = Date.parse("Dec 25 1995") - Date.parse("Dec 25 1995 GMT");
38 shouldBe('new Date(1111).getTime()', '1111');
39 shouldBe('new Date(object).getTime()', '1111');
40 shouldBe('new Date(new Date(1111)).getTime()', '1111')
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
PrivateKeyUsagePeriodTest.java 24 import java.util.Date;
34 Date notBeforeDate = new Date(200000000);
35 Date notAfterDate = new Date(300000000);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
PrivateKeyUsagePeriod.java 25 import java.util.Date;
49 private final Date notBeforeDate;
51 private final Date notAfterDate;
55 public PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate) {
59 private PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate, byte[] encoding) {
68 public Date getNotBefore() {
75 public Date getNotAfter() {
102 return new PrivateKeyUsagePeriod((Date) values[0], (Date) values[1], in.getEncoded())
    [all...]
InvalidityDate.java 21 import java.util.Date;
26 * CRL Entry's Invalidity Date Extension (OID = 2.5.29.24).
35 /** invalidity date value */
36 private final Date date; field in class:InvalidityDate
43 date = (Date) ASN1.decode(encoding);
47 * Constructs the object from a date instance.
49 public InvalidityDate(Date date) {
    [all...]
Validity.java 25 import java.util.Date;
47 private final Date notBefore;
49 private final Date notAfter;
53 public Validity(Date notBefore, Date notAfter) {
61 public Date getNotBefore() {
68 public Date getNotAfter() {
90 return new Validity((Date) values[0], (Date) values[1]);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-xparb.js 14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0};
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-xparb.js 14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0};
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
date-format-xparb.js 14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0};
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date.formatFunctions[format] = funcName
    [all...]
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DateTest.java 20 import java.sql.Date;
27 * JUnit Testcase for the java.sql.Date class
55 // Date strings
71 // Date string array for London (GMT)
75 // Date string array for New York - sometimes a day earlier than London
79 // Date string for Tokyo
96 * Helper method to create a long milliseconds time from a supplied date and
99 static private long getTime(int year, int month, int date, int hour,
101 aCal.set(year, month, date, hour, minute, second);
106 * Test of the Date(int, int, int) constructor - now deprecated but stil
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyUtils.java 26 private static final java.util.Date DATE = new java.util.Date();
37 DATE.setTime(time);
38 return DATE_FORMATTER.format(DATE);
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssItem.java 19 import java.util.Date;
27 public Date lastUpdated;
  /external/apache-http/src/org/apache/http/client/
CookieStore.java 4 * $Date: 2007-12-15 06:45:48 -0800 (Sat, 15 Dec 2007) $
33 import java.util.Date;
70 * the specified {@link java.util.Date date}.
74 boolean clearExpired(Date date);
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
Metadata.idl 35 readonly attribute Date modificationTime;

Completed in 1506 milliseconds

1 2 3 4 5 6 7 8 91011>>