HomeSort by relevance Sort by last modified time
    Searched defs:midnight (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/
15.9.5.3.js 71 Here we expect them to coincide, as we expect a time of exactly midnight - */
72 status = "(Date.parse(now.toDateString()) - (midnight(now)).valueOf()) == 0";
73 actual = (Date.parse(now.toDateString()) - (midnight(now)).valueOf()) == 0;
124 expect = Date.parse(midnight(givenDate));
129 function midnight(givenDate) function
131 // midnight on the given date -
15.9.5.6.js 71 Here we expect them to coincide, as we expect a time of exactly midnight - */
72 status = "(Date.parse(now.toLocaleDateString()) - (midnight(now)).valueOf()) == 0";
73 actual = (Date.parse(now.toLocaleDateString()) - (midnight(now)).valueOf()) == 0;
124 expect = Date.parse(midnight(givenDate));
129 function midnight(givenDate) function
131 // midnight on the given date -

Completed in 32 milliseconds