Name Description Size Coverage
15.9.4.2.js 4908 -
15.9.5.5-02.js 1791 -
15.9.5.5.js File Name: 15.9.5.5.js ECMA Section: 15.9.5.5 Date.prototype.toLocaleString() Description: This function returns a string value. The contents of the string are implementation dependent, but are intended to represent the "date" portion of the Date in the current time zone in a convenient, human-readable form. We can't test the content of the string, but can verify that the string is parsable by Date.parse The toLocaleString function is not generic; it generates a runtime error if its 'this' value is not a Date object. Therefore it cannot be transferred to other kinds of objects for use as a method. Note: This test isn't supposed to work with a non-English locale per spec. Author: pschwartau@netscape.com Date: 14 november 2000 3968 -
15.9.5.6.js File Name: 15.9.5.6.js ECMA Section: 15.9.5.6 Date.prototype.toLocaleDateString() Description: This function returns a string value. The contents of the string are implementation dependent, but are intended to represent the "date" portion of the Date in the current time zone in a convenient, human-readable form. We can't test the content of the string, but can verify that the string is parsable by Date.parse The toLocaleDateString function is not generic; it generates a runtime error if its 'this' value is not a Date object. Therefore it cannot be transferred to other kinds of objects for use as a method. Note: This test isn't supposed to work with a non-English locale per spec. Author: pschwartau@netscape.com Date: 14 november 2000 3187 -
15.9.5.7.js File Name: 15.9.5.7.js ECMA Section: 15.9.5.7 Date.prototype.toLocaleTimeString() Description: This function returns a string value. The contents of the string are implementation dependent, but are intended to represent the "time" portion of the Date in the current time zone in a convenient, human-readable form. We test the content of the string by checking that new Date(d.toDateString() + " " + d.toLocaleTimeString()) == d Author: pschwartau@netscape.com Date: 14 november 2000 Revised: 07 january 2002 because of a change in JS Date format: Revised: 21 November 2005 since the string comparison stuff is horked. bclary See http://bugzilla.mozilla.org/show_bug.cgi?id=118266 (SpiderMonkey) See http://bugzilla.mozilla.org/show_bug.cgi?id=118636 (Rhino) 3187 -
browser.js 510 -
dashed-date.js 5019 -
from-int32-fast-path.js 1533 -
parse-dashed-numeric-date.js 4891 -
parse-day-of-week.js 2000 -
parse-from-tostring-methods.js 1328 -
parse-keywords.js 1446 -
parse-milliseconds.js 2394 -
parse-month.js 2422 -
parse-no-strchr.js 301 -
parse-num-preceding-alpha.js 1440 -
parse-period.js 1262 -
parse-single-number.js 1520 -
parse-time-zone.js 362 -
parse-timezone-without-gmt.js 3092 -
parse-year-after-timezone.js 1152 -
parse-zulu-time.js 634 -
realm-locale.js 1835 -
realm-time-zone.js 2260 -
regress-188211.js 821 -
regress-301738-01.js Case 1. The input string contains an English month name. The form of the string can be month f l, or f month l, or f l month which each evaluate to the same date. If f and l are both greater than or equal to 70, or both less than 70, the date is invalid. The year is taken to be the greater of the values f, l. If the year is greater than or equal to 70 and less than 100, it is considered to be the number of years after 1900. 2833 -
regress-309925-01.js 561 -
regress-309925-02.js 589 -
regress-346027.js 758 -
regress-346363.js 782 -
regress-452786.js 793 -
reset-time-zone-cache-same-offset.js 1082 -
shell.js --- defines: [msPerHour, TZ_ADJUST, UTC_01_JAN_1900, UTC_01_JAN_2000, UTC_29_FEB_2000, UTC_01_JAN_2005, inTimeZone, withLocale, Month, assertDateTime, runDSTOffsetCachingTestsFraction] allow_unused: True --- 10258 -
time-zone-2038-pst.js 1827 -
time-zone-etc_localetime.js 1110 -
time-zone-path.js 1672 -
time-zone-pst.js 6057 -
time-zones-historic.js 21855 -
time-zones-imported.js steps 1-2 33464 -
time-zones-limits.js 2525 -
time-zones-posix.js 6167 -
time-zones.js 11278 -
toString-localized-posix.js 2730 -
toString-localized.js 3597 -