Lines Matching refs:date
25 "test of JavaScript date parsing (comments in parentheses)"
28 function testDateParse(date, numericResult)
31 shouldBeNaN('Date.parse("' + date + '")');
32 shouldBeNaN('Date.parse("' + date.toUpperCase() + '")');
33 shouldBeNaN('Date.parse("' + date.toLowerCase() + '")');
35 shouldBeTrue('Date.parse("' + date + '") == ' + numericResult);
36 shouldBeTrue('Date.parse("' + date.toUpperCase() + '") == ' + numericResult);
37 shouldBeTrue('Date.parse("' + date.toLowerCase() + '") == ' + numericResult);
41 var timeZoneOffset = Date.parse(" Dec 25 1995 1:30 ") - Date.parse(" Dec 25 1995 1:30 GMT ");