Home
last modified time | relevance | path

Searched refs:DateCase (Results 1 – 25 of 58) sorted by relevance

123

/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
D15.9.5.23-15.js60 DateCase = new Date();
62 DateCase = new Date( startTime );
65 DateCase.setTime( setTime );
73 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
74 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
76 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
77 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
78 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
79 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
80 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-14.js64 DateCase = new Date();
66 DateCase = new Date( startTime );
69 DateCase.setTime( setTime );
77 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
78 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
80 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
81 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
82 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
83 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
84 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-10.js72 DateCase = new Date();
74 DateCase = new Date( startTime );
77 DateCase.setTime( setTime );
85 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
86 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
88 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
89 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
90 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
91 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
92 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-1.js73 DateCase = new Date();
75 DateCase = new Date( startTime );
78 DateCase.setTime( setTime );
86 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
87 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
89 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
90 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
91 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
92 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
93 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-13.js66 DateCase = new Date();
68 DateCase = new Date( startTime );
71 DateCase.setTime( setTime );
79 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
80 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
82 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
83 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
84 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
85 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
86 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-18.js55 DateCase = new Date();
57 DateCase = new Date( startTime );
60 DateCase.setTime( setTime );
68 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
69 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
71 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
72 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
73 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
74 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
75 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-11.js71 DateCase = new Date();
73 DateCase = new Date( startTime );
76 DateCase.setTime( setTime );
84 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
85 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
87 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
88 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
89 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
90 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
91 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-17.js58 DateCase = new Date();
60 DateCase = new Date( startTime );
63 DateCase.setTime( setTime );
71 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
72 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
74 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
75 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
76 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
77 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
78 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-12.js69 DateCase = new Date();
71 DateCase = new Date( startTime );
74 DateCase.setTime( setTime );
82 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
83 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
85 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
86 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
87 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
88 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
89 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.23-16.js59 DateCase = new Date();
61 DateCase = new Date( startTime );
64 DateCase.setTime( setTime );
72 …w TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
73 …w TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
75 …Case( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
76 …stCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
77 …estCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
78 …TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
79 …stCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
[all …]
D15.9.5.30-1.js123 var DateCase = new Date( time );
126 DateCase.setHours( hours );
129 DateCase.setHours( hours, min );
132 DateCase.setHours( hours, min, sec );
134 DateCase.setHours( hours, min, sec, ms );
142 … TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
143 … TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
145 …estCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
146 …w TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
147 …ew TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
[all …]
D15.9.5.31-1.js122 DateCase = new Date(time);
124 DateCase.setUTCHours( hours );
127 DateCase.setUTCHours( hours, min );
130 DateCase.setUTCHours( hours, min, sec );
132 DateCase.setUTCHours( hours, min, sec, ms );
141 … TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
142 … TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
144 …estCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
145 …w TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
146 …ew TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
[all …]
D15.9.3.2-2.js179 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
185 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
186 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
188 … SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
189 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
190 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
191 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
192 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
193 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
194 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.2-1.js201 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
207 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
208 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
210 … SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
211 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
212 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
213 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
214 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
215 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
216 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.2-3.js165 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
171 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
172 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
174 … SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
175 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
176 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
177 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
178 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
179 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
180 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.5.32-1.js82 var DateCase = new Date( t );
83 DateCase.setDate( d );
90 … TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
91 … TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
93 …estCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
94 …w TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
95 …ew TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
96 …new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() );
97 …w TestCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
98 …TestCase( SECTION, DateString+".getUTCMinutes()", UTCDate.minutes,DateCase.getUTCMinutes() );
[all …]
D15.9.3.1-2.js192 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
198 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
199 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
201 …( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
202 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
203 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
204 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
205 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
206 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
207 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.2-4.js148 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
154 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
155 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
157 … SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
158 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
159 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
160 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
161 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
162 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
163 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.8-1.js261 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
267 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
268 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
269 …e( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
270 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
271 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
272 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
273 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
274 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
275 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.1-3.js170 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
176 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
177 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
179 …( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
180 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
181 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
182 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
183 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
184 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
185 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.2-5.js130 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
136 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
137 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
139 … SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
140 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
141 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
142 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
143 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
144 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
145 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.1-5.js131 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
137 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
138 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
140 …( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
141 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
142 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
143 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
144 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
145 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
146 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.1-4.js154 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
160 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
161 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
163 …( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
164 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
165 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
166 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
167 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
168 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
169 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.3.8-2.js236 function addNewTestCase( DateCase, DateString, ResultArray ) { argument
242 …+] = new TestCase( SECTION, DateString+".getTime()", ResultArray[TIME], DateCase.getTime() );
243 …+] = new TestCase( SECTION, DateString+".valueOf()", ResultArray[TIME], DateCase.valueOf() );
244 …e( SECTION, DateString+".getUTCFullYear()", ResultArray[UTC_YEAR], DateCase.getUTCFullYear() …
245 …e( SECTION, DateString+".getUTCMonth()", ResultArray[UTC_MONTH], DateCase.getUTCMonth() );
246 …se( SECTION, DateString+".getUTCDate()", ResultArray[UTC_DATE], DateCase.getUTCDate() );
247 …ase( SECTION, DateString+".getUTCDay()", ResultArray[UTC_DAY], DateCase.getUTCDay() );
248 …e( SECTION, DateString+".getUTCHours()", ResultArray[UTC_HOURS], DateCase.getUTCHours() );
249 … SECTION, DateString+".getUTCMinutes()", ResultArray[UTC_MINUTES],DateCase.getUTCMinutes() );
250 … SECTION, DateString+".getUTCSeconds()", ResultArray[UTC_SECONDS],DateCase.getUTCSeconds() );
[all …]
D15.9.5.24-8.js65 var DateCase = new Date( startms );
66 DateCase.setMilliseconds( newms );
75 … TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() );
76 … TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() );
78 …estCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() …
79 …w TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() );
80 …ew TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
82 …w TestCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() );
83 …TestCase( SECTION, DateString+".getUTCMinutes()", UTCDate.minutes,DateCase.getUTCMinutes() );
84 …TestCase( SECTION, DateString+".getUTCSeconds()", UTCDate.seconds,DateCase.getUTCSeconds() );
[all …]

123