OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:givenDate
(Results
1 - 4
of
4
) sorted by null
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/
15.9.5.3.js
120
var
givenDate
= new Date(date_given_in_milliseconds);
122
status = 'Date.parse(' +
givenDate
+ ').toDateString())';
123
actual = Date.parse(
givenDate
.toDateString());
124
expect = Date.parse(midnight(
givenDate
));
129
function midnight(
givenDate
)
132
return new Date(
givenDate
.getFullYear(),
givenDate
.getMonth(),
givenDate
.getDate());
15.9.5.6.js
120
var
givenDate
= new Date(date_given_in_milliseconds);
122
status = 'Date.parse(' +
givenDate
+ ').toLocaleDateString())';
123
actual = Date.parse(
givenDate
.toLocaleDateString());
124
expect = Date.parse(midnight(
givenDate
));
129
function midnight(
givenDate
)
132
return new Date(
givenDate
.getFullYear(),
givenDate
.getMonth(),
givenDate
.getDate());
15.9.5.4.js
47
var
givenDate
;
127
givenDate
= new Date(date_given_in_milliseconds);
129
status = '(' +
givenDate
+ ').toTimeString()';
130
actual =
givenDate
.toTimeString();
131
expect = extractTimeString(
givenDate
);
15.9.5.7.js
51
var
givenDate
;
130
givenDate
= new Date(date_given_in_milliseconds);
132
status = '(' +
givenDate
+ ').toLocaleTimeString()';
133
actual =
givenDate
.toLocaleTimeString();
134
expect = extractLocaleTimeString(
givenDate
);
Completed in 360 milliseconds