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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/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...]
15.9.2.2-1.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(1970,0,1,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0) );
55 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59)", (new Date()).toString(), Date(1969,11,31,15,59,59)
    [all...]
15.9.2.2-3.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(1899,11,31,23,59,59)", (new Date()).toString(), Date(1899,11,31,23,59,59));
55 array[item++] = new TestCase( SECTION, "Date(1900,0,1,0,0,0)", (new Date()).toString(), Date(1900,0,1,0,0,0) )
    [all...]
15.9.2.2-5.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(2004,11,31,23,59,59)", (new Date()).toString(), Date(2004,11,31,23,59,59));
54 array[item++] = new TestCase( SECTION, "Date(2005,0,1,0,0,0)", (new Date()).toString(), Date(2005,0,1,0,0,0) )
    [all...]
15.9.2.2-6.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(2031,11,31,23,59,59)", (new Date()).toString(), Date(2031,11,31,23,59,59));
54 array[item++] = new TestCase( SECTION, "Date(2032,0,1,0,0,0)", (new Date()).toString(), Date(2032,0,1,0,0,0) )
    [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/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)
  /libcore/luni/src/test/java/tests/api/java/util/
DateTest.java 26 import java.util.Date;
31 @TestTargetClass(Date.class)
35 * @tests java.util.Date#Date()
40 method = "Date",
44 // Test for method java.util.Date()
48 long now = new Date().getTime();
49 assertTrue("Created incorrect date: " + oldTime + " now: " + now,
54 * @tests java.util.Date#Date(int, int, int
71 Date date = new Date(99, 5, 22); local
    [all...]
  /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);
SetCookie.java 4 * $Date: 2008-01-31 11:26:47 -0800 (Thu, 31 Jan 2008) $
34 import java.util.Date;
59 * Sets expiration date.
64 * @param expiryDate the {@link Date} after which this cookie is no longer valid.
69 void setExpiryDate (Date expiryDate);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
PrivateKeyUsagePeriod.java 25 import java.util.Date;
50 private final Date notBeforeDate;
52 private final Date notAfterDate;
58 * @param notBeforeDate: Date
59 * @param notAfterDate: Date
61 public PrivateKeyUsagePeriod(Date notBeforeDate, Date notAfterDate) {
67 // @param notBeforeDate: Date
68 // @param notAfterDate: Date
71 private PrivateKeyUsagePeriod(Date notBeforeDate
    [all...]
Validity.java 25 import java.util.Date;
47 private final Date notBefore;
49 private final Date notAfter;
55 * @param notBefore: Date
56 * @param notAfter: Date
58 public Validity(Date notBefore, Date notAfter) {
67 public Date getNotBefore() {
75 public Date getNotAfter() {
98 return new Validity((Date) values[0], (Date) values[1])
    [all...]
  /external/webkit/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/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...]
  /libcore/luni/src/test/java/org/apache/harmony/sql/tests/java/sql/
DateTest.java 25 import java.sql.Date;
30 @TestTargetClass(Date.class)
32 * JUnit Testcase for the java.sql.Date class
61 // Date strings
77 // Date string array for London (GMT)
81 // Date string array for New York - sometimes a day earlier than London
85 // Date string for Tokyo
102 * Helper method to create a long milliseconds time from a supplied date and
105 static private long getTime(int year, int month, int date, int hour,
107 aCal.set(year, month, date, hour, minute, second)
    [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);
  /libcore/luni/src/main/java/java/util/concurrent/locks/
Condition.java 9 import java.util.Date;
384 * synchronized boolean aMethod(Date deadline) {
417 boolean awaitUntil(Date deadline) throws InterruptedException;

Completed in 400 milliseconds

1 2 3 4 5 6 7 8 91011>>