/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
lexical-048.js | 7 Date: 15 september 1997
|
lexical-049.js | 7 Date: 15 september 1997
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.4.js | 24 ECMA Section: 15.9.5.4 Date.prototype.toTimeString() 28 portion of the Date in the current time zone in a convenient, 33 Date: 14 november 2000 34 Revised: 07 january 2002 because of a change in JS Date format: 42 var TITLE = "Date.prototype.toTimeString()"; 73 status = "Date.prototype.toTimeString.length"; 74 actual = Date.prototype.toTimeString.length; 127 givenDate = new Date(date_given_in_milliseconds); 144 * Thus, use a regexp of the form /date.toDateString()(.*)$/ 147 function extractTimeString(date) [all...] |
15.9.5.7.js | 24 ECMA Section: 15.9.5.7 Date.prototype.toLocaleTimeString() 28 portion of the Date in the current time zone in a convenient, 37 Date: 14 november 2000 38 Revised: 07 january 2002 because of a change in JS Date format: 46 var TITLE = "Date.prototype.toLocaleTimeString()"; 76 status = "Date.prototype.toLocaleTimeString.length"; 77 actual = Date.prototype.toLocaleTimeString.length; 130 givenDate = new Date(date_given_in_milliseconds); 147 * So first, use a regexp of the form /date.toDateString()(.*)$/ 152 function extractLocaleTimeString(date) [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 29 import java.util.Date; 43 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; 180 Date date = new Date(); local 182 + DateFormat.getTimeInstance().format(date); 184 new Integer(3), date }, buffer, new FieldPosition(MessageFormat 217 Date date = new Date(12345678) local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLEntryTest.java | 32 import java.util.Date; 73 public Date getRevocationDate() {
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 25 import java.util.Date; 65 new Date().getTime() + 100000) 145 // Last modified date value (milliseconds) 154 // The expiration date
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyFormatter.java | 23 import java.util.Date; 52 sb.append(FORMAT.format(new Date(record.getMillis()))).append(":");
|
/external/v8/test/mjsunit/ |
json.js | 28 // Date toJSON 29 assertEquals("1970-01-01T00:00:00.000Z", new Date(0).toJSON()); 30 assertEquals("1979-01-11T08:00:00.000Z", new Date("1979-01-11 08:00 GMT").toJSON()); 31 assertEquals("2005-05-05T05:05:05.000Z", new Date("2005-05-05 05:05:05 GMT").toJSON()); 32 var n1 = new Date(10000); 35 var n2 = new Date(10001); 38 var n4 = new Date(10003); 49 //Test Date.prototype.toJSON as generic function. 50 var d1 = {toJSON: Date.prototype.toJSON, 54 var d2 = {toJSON: Date.prototype.toJSON [all...] |
lazy-load.js | 28 // Test unusual way of accessing Date. 29 var date0 = new this["Date"](1111);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 32 import java.util.Date; 233 Date date = new Date(); local 234 date.setTime(date.getTime() + 1000 * 600); 235 String value2 = cookie2 + "; expires=" + date.toGMTString(); 239 date = new Date(); 240 date.setTime(date.getTime() + expiration) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 22 import java.util.Date; 201 Date date = new Date(07, 2, 24); local 202 assertEquals(300, date.getTimezoneOffset()); 203 date = new Date(99, 8, 1); 204 assertEquals(240, date.getTimezoneOffset());
|
/external/v8/test/mjsunit/regress/ |
regress-396.js | 30 function DateYear(date) { 31 var string = date.getYear() + ''; 38 assertEquals('1995', DateYear(new Date('Dec 25, 1995'))); 39 assertEquals('2005', DateYear(new Date('Dec 25, 2005')));
|
/external/webkit/PerformanceTests/Parser/resources/ |
runner.js | 71 var start = new Date(); 74 var time = new Date() - start;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.11-6.js | 25 Description: Date.prototype.getUTCDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDate()"; 57 "(new Date("+t+")).getUTCDate()", 59 (new Date(t)).getUTCDate() ); 62 "(new Date("+(t+1)+")).getUTCDate()", 64 (new Date(t+1)).getUTCDate() ); 67 "(new Date("+(t-1)+")).getUTCDate()", 69 (new Date(t-1)).getUTCDate() ); 72 "(new Date("+(t-TZ_ADJUST)+")).getUTCDate()" [all...] |
15.9.5.11-7.js | 25 Description: Date.prototype.getUTCDate 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDate()"; 59 "(new Date("+t+")).getUTCDate()", 61 (new Date(t)).getUTCDate() ); 64 "(new Date("+(t+1)+")).getUTCDate()", 66 (new Date(t+1)).getUTCDate() ); 69 "(new Date("+(t-1)+")).getUTCDate()", 71 (new Date(t-1)).getUTCDate() ); 74 "(new Date("+(t-TZ_ADJUST)+")).getUTCDate()" [all...] |
15.9.5.13-6.js | 25 Description: Date.prototype.getUTCDay 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDay()"; 60 "(new Date("+t+")).getUTCDay()", 62 (new Date(t)).getUTCDay() );
|
15.9.5.13-7.js | 25 Description: Date.prototype.getUTCDay 32 Date: 12 november 1997 38 var TITLE = "Date.prototype.getUTCDay()"; 62 "(new Date("+t+")).getUTCDay()", 64 (new Date(t)).getUTCDay() );
|
15.9.5.34-1.js | 24 ECMA Section: 15.9.5.34 Date.prototype.setMonth(mon [, date ] ) 26 If date is not specified, this behaves as if date were specified with the 30 2. Call ToNumber(date). 31 3. If date is not specified, compute DateFromTime(t); otherwise, call ToNumber(date). 38 Date: 12 november 1997 44 writeHeaderToLog( SECTION + " Date.prototype.setMonth(mon [, date ] )"); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.5-1.js | 30 Built-in objects such as Math, String, Date, parseInt, etc. These have 41 Date: 12 november 1997 72 if ( Date == null ) { 73 testcases[0].reason += " Date == null";
|
10.1.5-3.js | 30 Built-in objects such as Math, String, Date, parseInt, etc. These have 41 Date: 12 november 1997 74 if ( Date == null ) { 75 testcases[0].reason += " Date == null";
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.1.js | 28 Date: 7 july 1997 50 array[item++] = new TestCase( SECTION, "x=new Date();delete x;typeof(x)", "undefined", eval("x=new Date();delete x;typeof(x)") ); 52 // array[item++] = new TestCase( SECTION, "delete(x=new Date())", true, delete(x=new Date()) ); 93 this.prop7 = new Date();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.4-1.js | 41 Date: 28 october 1997 67 array[item++] = new TestCase( SECTION, "Function.prototype(1,true,false,'string', new Date(),null)", (void 0), Function.prototype(1,true,false,'string', new Date(),null) );
|
15.3.4.js | 41 Date: 28 october 1997 66 array[item++] = new TestCase( SECTION, "Function.prototype(1,true,false,'string', new Date(),null)", (void 0), Function.prototype(1,true,false,'string', new Date(),null) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/ |
class-001.js | 20 * Date: 14 Mar 2001 78 status = 'new Date()'; 79 actual = getJSClass(new Date()); 80 expect = 'Date';
|