/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
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-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.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.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.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-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.3.8-3.js | 24 ECMA Section: 15.9.3.8 The Date Constructor 25 new Date( value ) 27 object is set to the original Date prototype object, 28 the one that is the initial valiue of Date.prototype. 31 set to "Date". 41 5. Parse Result(1) as a date, in exactly the same manner 43 this date. 47 Date: 28 october 1997 69 var DATE = 11; 79 var TITLE = "Date constructor: new Date( value )" [all...] |
15.9.3.8-1.js | 24 ECMA Section: 15.9.3.8 The Date Constructor 25 new Date( value ) 27 object is set to the original Date prototype object, 28 the one that is the initial valiue of Date.prototype. 31 set to "Date". 41 5. Parse Result(1) as a date, in exactly the same manner 43 this date. 47 Date: 28 october 1997 69 var DATE = 11; 79 var TITLE = "Date constructor: new Date( value )" [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.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.5.js | 24 ECMA Section: 15.9.5 Properties of the Date prototype object 27 The Date prototype object is itself a Date object (its [[Class]] is 28 "Date") whose value is NaN. 30 The value of the internal [[Prototype]] property of the Date prototype 33 In following descriptions of functions that are properties of the Date 34 prototype object, the phrase "this Date object" refers to the object that 37 [[Class]] property is "Date". Also, the phrase "this time value" refers 38 to the number value for the time represented by this Date object, that is, 39 the value of the internal [[Value]] property of this Date object [all...] |
15.9.3.8-2.js | 24 ECMA Section: 15.9.3.8 The Date Constructor 25 new Date( value ) 27 object is set to the original Date prototype object, 28 the one that is the initial valiue of Date.prototype. 31 set to "Date". 41 5. Parse Result(1) as a date, in exactly the same manner 43 this date. 47 Date: 28 october 1997 69 var DATE = 11; 79 var TITLE = "Date constructor: new Date( value )" [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...] |
15.9.3.8-4.js | 24 ECMA Section: 15.9.3.8 The Date Constructor 25 new Date( value ) 27 object is set to the original Date prototype object, 28 the one that is the initial valiue of Date.prototype. 31 set to "Date". 41 5. Parse Result(1) as a date, in exactly the same manner 43 this date. 47 Date: 28 october 1997 69 var DATE = 11; 79 var TITLE = "Date constructor: new Date( value )" [all...] |
/dalvik/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/v8/test/mjsunit/ |
to_number_order.js | 53 var date = { valueOf: function() { x += 3; return 4; } }; 60 new Date(year, month, date, hours, minutes, seconds, ms); 62 assertEquals("1234567", x, "Date"); 65 Date(year, month, date, hours, minutes, seconds, ms); 66 assertEquals("", x, "Date not constructor"); 69 Date.UTC(year, month, date, hours, minutes, seconds, ms); 71 assertEquals("1234567", x, "Date.UTC") [all...] |
/external/webkit/WebCore/manual-tests/memory/ |
MessageUidsAlreadyDownloaded2 | 8 <date>2006-07-28T19:13:46Z</date> 13 <date>2006-07-28T20:22:43Z</date> 18 <date>2006-07-28T20:34:37Z</date> 23 <date>2006-07-29T06:17:48Z</date> 28 <date>2006-07-29T06:17:49Z</date> [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
InvalidityDate.java | 21 import java.util.Date; 27 * CRL Entry's Invalidity Date Extension (OID = 2.5.29.24). 37 // invalidity date value 38 private final Date date; field in class:InvalidityDate 41 * Constructs the object on the base of the invalidity date value. 43 public InvalidityDate(Date date) { 44 this.date = date; [all...] |
/external/webkit/SunSpider/ |
UNCOVERED | 51 Date.toDateString 52 Date.toTimeString 53 Date.getUTCFullYear 54 Date.getUTCMonth 55 Date.getUTCDate 56 Date.getUTCDay 57 Date.getUTCSeconds 58 Date.getMilliseconds 59 Date.getUTCMilliseconds 60 Date.set [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
DateTimeField.java | 29 import java.util.Date;
32 private Date date;
field in class:DateTimeField 35 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
37 this.date = date;
41 public Date getDate() {
42 return date;
53 Date date = null; local [all...] |
/external/icu4c/test/testdata/ |
calendar.txt | 29 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw 30 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg 34 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw 35 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg 39 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw 40 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg 46 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw 47 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg 54 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch 55 "YEAR=1964,MONTH=8,DATE=4", // gre [all...] |
/external/v8/test/mjsunit/regress/ |
regress-91.js | 28 var date = new Date(); 29 var year = date.getYear(); 30 date.setMilliseconds(Number.NaN); 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear()); 33 assertEquals(0, date.getMonth()); 34 assertEquals(1, date.getDate()); 35 assertEquals(0, date.getHours()); 36 assertEquals(0, date.getMinutes()) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
date-003.js | 2 File Name: date-003.js 4 ECMA Section: 15.9.5.3-1 Date.prototype.valueOf 10 its this value is not a Date object. Therefore it cannot be transferred 14 Date: 12 november 1997 16 var SECTION = "date-003"; 18 var TITLE = "Date.prototype.valueOf"; 31 var OBJ = new MyObject( new Date(0) ); 40 "OBJ = new MyObject( new Date(0)); OBJ.valueOf()" + 49 this.valueOf = Date.prototype.valueOf;
|
/frameworks/base/core/java/android/util/ |
package.html | 3 Provides common utility methods such as date/time manipulation, base64 encoders
|