/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
D | 15.9.5.2.js | 68 TZ_ADJUST = TZ_DIFF * msPerHour; 76 "Date.parse( (new Date("+TZ_ADJUST+")).toString() )", 77 TZ_ADJUST, 78 Date.parse( (new Date(TZ_ADJUST)).toString() ) ) 87 "Date.parse( (new Date("+TIME_1900 -TZ_ADJUST+")).toString() )", 88 TIME_1900 -TZ_ADJUST, 89 Date.parse( (new Date(TIME_1900 -TZ_ADJUST)).toString() ) ) 98 "Date.parse( (new Date("+TIME_2000 -TZ_ADJUST+")).toString() )", 99 TIME_2000 -TZ_ADJUST, 100 Date.parse( (new Date(TIME_2000 -TZ_ADJUST)).toString() ) ) [all …]
|
D | 15.9.5.2-1.js | 68 TZ_ADJUST = TZ_DIFF * msPerHour; 76 "Date.parse( (new Date("+TZ_ADJUST+")).toString() )", 77 TZ_ADJUST, 78 Date.parse( (new Date(TZ_ADJUST)).toString() ) ) 87 "Date.parse( (new Date("+TIME_1900 -TZ_ADJUST+")).toString() )", 88 TIME_1900 -TZ_ADJUST, 89 Date.parse( (new Date(TIME_1900 -TZ_ADJUST)).toString() ) ) 98 "Date.parse( (new Date("+TIME_2000 -TZ_ADJUST+")).toString() )", 99 TIME_2000 -TZ_ADJUST, 100 Date.parse( (new Date(TIME_2000 -TZ_ADJUST)).toString() ) ) [all …]
|
D | 15.9.3.1-1.js | 89 var TZ_ADJUST = TZ_PST * msPerHour; 99 [TIME_1970-TZ_ADJUST-1,1970,0,1,4,7,59,59,999,1969,11,31,3,23,59,59,999] ); 103 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 111 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 115 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 119 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 123 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 127 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 131 [TIME_1970-TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 145 [TIME_2000-TZ_ADJUST-1,2000,0,1,6,7,59,59,999,1999,11,31,5,23,59,59,999] ); [all …]
|
D | 15.9.3.8-2.js | 94 var TZ_ADJUST = -TZ_PST * msPerHour; 104 addNewTestCase( new Date( TZ_ADJUST ), 105 "new Date(" + TZ_ADJUST+")", 106 [TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 108 addNewTestCase( new Date((new Date(TZ_ADJUST)).toString()), 109 "new Date(\""+ (new Date(TZ_ADJUST)).toString()+"\")", 110 [TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] ); 113 addNewTestCase( new Date( (new Date(TZ_ADJUST)).toUTCString() ), 114 "new Date(\""+ (new Date(TZ_ADJUST)).toUTCString()+"\")", 115 [TZ_ADJUST,1970,0,1,4,8,0,0,0,1970,0,1,4,0,0,0,0] );
|
D | 15.9.3.8-3.js | 94 var TZ_ADJUST = -TZ_PST * msPerHour; 99 addNewTestCase( new Date(TIME_2000+TZ_ADJUST), 100 "new Date(" +(TIME_2000+TZ_ADJUST)+")", 101 [TIME_2000+TZ_ADJUST,2000,0,1,6,8,0,0,0,2000,0,1,6,0,0,0,0] ); 107 addNewTestCase( new Date( (new Date(TIME_2000+TZ_ADJUST)).toString()), 108 "new Date(\"" +(new Date(TIME_2000+TZ_ADJUST)).toString()+"\")", 109 [TIME_2000+TZ_ADJUST,2000,0,1,6,8,0,0,0,2000,0,1,6,0,0,0,0] ); 116 addNewTestCase( new Date( (new Date(TIME_2000+TZ_ADJUST)).toUTCString()), 117 "new Date(\"" +(new Date(TIME_2000+TZ_ADJUST)).toUTCString()+"\")", 118 [TIME_2000+TZ_ADJUST,2000,0,1,6,8,0,0,0,2000,0,1,6,0,0,0,0] );
|
D | 15.9.5.4-1.js | 42 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 74 "(new Date("+(t-TZ_ADJUST)+").getTime()", 75 t-TZ_ADJUST, 76 (new Date(t-TZ_ADJUST)).getTime() ); 79 "(new Date("+(t+TZ_ADJUST)+").getTime()", 80 t+TZ_ADJUST, 81 (new Date(t+TZ_ADJUST)).getTime() );
|
D | 15.9.5.3-2.js | 47 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 79 "(new Date("+(t-TZ_ADJUST)+").valueOf()", 80 t-TZ_ADJUST, 81 (new Date(t-TZ_ADJUST)).valueOf() ); 84 "(new Date("+(t+TZ_ADJUST)+").valueOf()", 85 t+TZ_ADJUST, 86 (new Date(t+TZ_ADJUST)).valueOf() );
|
D | 15.9.5.23-9.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 91 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 92 t-TZ_ADJUST, 93 d.setTime(t-TZ_ADJUST) ); 96 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 97 t+TZ_ADJUST, 98 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.9.js | 44 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 97 "(new Date("+(t-TZ_ADJUST)+")).getUTCMonth()", 98 MonthFromTime(t-TZ_ADJUST), 99 (new Date(t-TZ_ADJUST)).getUTCMonth() ); 102 "(new Date("+(t+TZ_ADJUST)+")).getUTCMonth()", 103 MonthFromTime(t+TZ_ADJUST), 104 (new Date(t+TZ_ADJUST)).getUTCMonth() );
|
D | 15.9.5.7.js | 43 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 93 "(new Date("+(t-TZ_ADJUST)+")).getUTCFullYear()", 94 YearFromTime(t-TZ_ADJUST), 95 (new Date(t-TZ_ADJUST)).getUTCFullYear() ); 98 "(new Date("+(t+TZ_ADJUST)+")).getUTCFullYear()", 99 YearFromTime(t+TZ_ADJUST), 100 (new Date(t+TZ_ADJUST)).getUTCFullYear() );
|
D | 15.9.5.6.js | 43 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 93 "(new Date("+(t-TZ_ADJUST)+")).getFullYear()", 94 YearFromTime(LocalTime(t-TZ_ADJUST)), 95 (new Date(t-TZ_ADJUST)).getFullYear() ); 98 "(new Date("+(t+TZ_ADJUST)+")).getFullYear()", 99 YearFromTime(LocalTime(t+TZ_ADJUST)), 100 (new Date(t+TZ_ADJUST)).getFullYear() );
|
D | 15.9.5.23-2.js | 45 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 90 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 91 t-TZ_ADJUST, 92 d.setTime(t-TZ_ADJUST) ); 95 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 96 t+TZ_ADJUST, 97 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.5.js | 48 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 92 "(new Date("+(t-TZ_ADJUST)+")).getYear()", 93 GetYear(YearFromTime(LocalTime(t-TZ_ADJUST))), 94 (new Date(t-TZ_ADJUST)).getYear() ); 97 "(new Date("+(t+TZ_ADJUST)+")).getYear()", 98 GetYear(YearFromTime(LocalTime(t+TZ_ADJUST))), 99 (new Date(t+TZ_ADJUST)).getYear() );
|
D | 15.9.5.23-8.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 90 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 91 t-TZ_ADJUST, 92 d.setTime(t-TZ_ADJUST) ); 95 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 96 t+TZ_ADJUST, 97 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.8.js | 44 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 97 "(new Date("+(t-TZ_ADJUST)+")).getMonth()", 98 MonthFromTime(LocalTime(t-TZ_ADJUST)), 99 (new Date(t-TZ_ADJUST)).getMonth() ); 102 "(new Date("+(t+TZ_ADJUST)+")).getMonth()", 103 MonthFromTime(LocalTime(t+TZ_ADJUST)), 104 (new Date(t+TZ_ADJUST)).getMonth() );
|
D | 15.9.5.23-6.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 101 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 102 t-TZ_ADJUST, 103 d.setTime(t-TZ_ADJUST) ); 106 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 107 t+TZ_ADJUST, 108 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.23-7.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 101 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 102 t-TZ_ADJUST, 103 d.setTime(t-TZ_ADJUST) ); 106 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 107 t+TZ_ADJUST, 108 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.23-4.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 101 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 102 t-TZ_ADJUST, 103 d.setTime(t-TZ_ADJUST) ); 106 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 107 t+TZ_ADJUST, 108 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.5.23-5.js | 46 var TZ_ADJUST = TZ_DIFF * msPerHour; variable 101 "( "+d+" ).setTime("+(t-TZ_ADJUST)+")", 102 t-TZ_ADJUST, 103 d.setTime(t-TZ_ADJUST) ); 106 "( "+d+" ).setTime("+(t+TZ_ADJUST)+")", 107 t+TZ_ADJUST, 108 d.setTime(t+TZ_ADJUST) );
|
D | 15.9.3.1-2.js | 89 var TZ_ADJUST = TZ_PST * msPerHour; 103 [TIME_2000-TZ_ADJUST-1,2000,0,1,6,7,59,59,999,1999,11,31,5,23,59,59,999] ); 107 [TIME_2000-TZ_ADJUST,2000,0,1,6,8,0,0,0,2000,0,1,6,0,0,0,0] ); 111 [TIME_2000-TZ_ADJUST+1,2000,0,1,6,8,0,0,1,2000,0,1,6,0,0,0,1] );
|
D | 15.9.3.1-4.js | 89 var TZ_ADJUST = TZ_PST * msPerHour; 103 [TIME_1900-TZ_ADJUST-1,1900,0,1,1,7,59,59,999,1899,11,31,0,23,59,59,999] ); 107 [TIME_1900-TZ_ADJUST,1900,0,1,1,8,0,0,0,1900,0,1,1,0,0,0,0] ); 111 [TIME_1900-TZ_ADJUST+1,1900,0,1,1,8,0,0,1,1900,0,1,1,0,0,0,1] );
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
D | 15.9.5.4.js | 83 addDateTestCase(TZ_ADJUST); 88 addDateTestCase(TIME_1900 - TZ_ADJUST); 93 addDateTestCase(TIME_2000 - TZ_ADJUST); 99 addDateTestCase(UTC_29_FEB_2000 - TZ_ADJUST); 104 addDateTestCase( TIME_NOW - TZ_ADJUST); 110 addDateTestCase(UTC_1_JAN_2005 - TZ_ADJUST);
|
D | 15.9.5.7.js | 86 addDateTestCase(TZ_ADJUST); 91 addDateTestCase(TIME_1900 - TZ_ADJUST); 96 addDateTestCase(TIME_2000 - TZ_ADJUST); 102 addDateTestCase(UTC_29_FEB_2000 - TZ_ADJUST); 107 addDateTestCase( TIME_NOW - TZ_ADJUST); 113 addDateTestCase(UTC_1_JAN_2005 - TZ_ADJUST);
|
D | 15.9.5.3.js | 81 addDateTestCase(TZ_ADJUST); 86 addDateTestCase(TIME_1900 - TZ_ADJUST); 91 addDateTestCase(TIME_2000 - TZ_ADJUST); 97 addDateTestCase(UTC_29_FEB_2000 - TZ_ADJUST); 103 addDateTestCase(UTC_1_JAN_2005 - TZ_ADJUST);
|
D | 15.9.5.6.js | 81 addDateTestCase(TZ_ADJUST); 86 addDateTestCase(TIME_1900 - TZ_ADJUST); 91 addDateTestCase(TIME_2000 - TZ_ADJUST); 97 addDateTestCase(UTC_29_FEB_2000 - TZ_ADJUST); 103 addDateTestCase(UTC_1_JAN_2005 - TZ_ADJUST);
|