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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.4.2-1.js 25 * Description: Date parsing gets 12:30 AM wrong.
27 * js> d = new Date('1/1/1999 13:30 AM')
28 * Invalid Date
29 * js> d = new Date('1/1/1999 13:30 PM')
30 * Invalid Date
31 * js> d = new Date('1/1/1999 12:30 AM')
33 * js> d = new Date('1/1/1999 12:30 PM')
40 var TITLE = "Regression Test for Date.parse"; // Provide ECMA section title or a description
45 AddTestCase( "new Date('1/1/1999 12:30 AM').toString()",
46 new Date(1999,0,1,0,30).toString()
    [all...]
15.9.2.1.js 24 ECMA Section: 15.9.2.1 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds, ms )
28 expression (new Date()).toString().
31 Date: 28 october 1997
37 var TITLE = "Date Constructor used as a function";
41 writeHeaderToLog("15.9.2.1 The Date Constructor Called as a Function: " +
42 "Date( year, month, date, hours, minutes, seconds, ms )" );
53 var TODAY = new Date();
    [all...]
15.9.4.2.js 24 ECMA Section: 15.9.4.2 Date.parse()
27 a date. It returns a number, the UTC time value
28 corresponding to the date.
38 so for any Date object x, all of these things should
43 Date.parse(x.toString()) test_tostring()
44 Date.parse(x.toGMTString()) test_togmt()
46 Date.parse(x.toLocaleString()) is not required to
49 Date.parse is implementation dependent when given any
54 Date.parse( x.toLocaleString()) test_tolocale()
57 Date: 10 july 199
    [all...]
15.9.5.2-1.js 24 ECMA Section: 15.9.5.2 Date.prototype.toString
27 implementation dependent, but are intended to represent the Date in a
31 this value is not a Date object. Therefore it cannot be transferred to
35 Date: 12 november 1997
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
52 var now = new Date();
55 // parsable by Date.parse
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000"
    [all...]
15.9.5.2.js 24 ECMA Section: 15.9.5.2 Date.prototype.toString
27 implementation dependent, but are intended to represent the Date in a
31 this value is not a Date object. Therefore it cannot be transferred to
35 Date: 12 november 1997
41 var TITLE = "Date.prototype.toString";
48 "Date.prototype.toString.length",
50 Date.prototype.toString.length );
52 var now = new Date();
55 // parsable by Date.parse
58 "Math.abs(Date.parse(now.toString()) - now.valueOf()) < 1000"
    [all...]
15.9.2.2-2.js 24 ECMA Section: 15.9.2.2 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds )
28 expression (new Date()).toString().
31 Date: 28 october 1997
39 var TITLE = "The Date Constructor Called as a Function";
53 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59)", (new Date()).toString(), Date(1999,11,15,59,59));
54 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0))
    [all...]
15.9.2.2-4.js 24 ECMA Section: 15.9.2.2 Date constructor used as a function
25 Date( year, month, date, hours, minutes, seconds )
28 expression (new Date()).toString().
31 Date: 28 october 1997
39 var TITLE = "The Date Constructor Called as a Function";
54 array[item++] = new TestCase( SECTION, "Date( 2000,1,29,0,0,0)", (new Date()).toString(), Date(2000,1,29,0,0,0));
55 array[item++] = new TestCase( SECTION, "Date( 2000,1,28,23,59,59)", (new Date()).toString(), Date( 2000,1,28,23,59,59))
    [all...]
  /frameworks/base/media/java/android/drm/mobile1/
DrmConstraintInfo.java 19 import java.util.Date;
31 * The constraint of start date.
36 * The constraint of end date.
65 * Get the start date constraint.
67 * @return the start date or null if no limit.
69 public Date getStartDate() {
73 return new Date(startDate);
77 * Get the end date constraint.
79 * @return the end date or null if no limit.
81 public Date getEndDate()
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DateTest.java 21 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();
52 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
57 * @tests java.util.Date#Date(int, int, int)
60 // Test for method java.util.Date(int, int, int
68 Date date = new Date(99, 5, 22); local
110 Date date = new MockDate(1000L); local
    [all...]
  /libcore/luni/src/test/java/tests/api/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/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/bouncycastle/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/webkit/Source/WebCore/fileapi/
Metadata.idl 36 readonly attribute Date modificationTime;
  /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;
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();
132 * @param date Current time
136 boolean isExpired(final Date date);
  /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...]
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/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/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/v8/test/mjsunit/
date.js 28 // Test date construction from other dates.
29 var date0 = new Date(1111);
30 var date1 = new Date(date0);
33 var date2 = new Date(date0.toString());
37 var date0 = Date.parse("Dec 25 1995 1:30");
38 var date1 = Date.parse("Dec 25, 1995 1:30");
39 var date2 = Date.parse("Dec 25 1995, 1:30");
40 var date3 = Date.parse("Dec 25, 1995, 1:30");
47 var dMax = new Date(8.64e15);
53 var dOverflow = new Date(8.64e15+1)
    [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
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
97 * Helper method to create a long milliseconds time from a supplied date and
100 static private long getTime(int year, int month, int date, int hour,
102 aCal.set(year, month, date, hour, minute, second);
107 * 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;
65 * the specified {@link java.util.Date date}.
69 boolean clearExpired(Date date);

Completed in 4663 milliseconds

1 2 3 4 5 6 7 8 91011>>