15.9.4.2.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
4964 |
15.9.5.5-02.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1847 |
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
|
3009 |
15.9.5.6.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3243 |
15.9.5.7.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3243 |
browser.js |
|
510 |
constructor-convert-all-arguments.js |
BEGIN TEST *
************ |
1867 |
constructor-one-argument.js |
BEGIN TEST *
************ |
671 |
constructor-one-Date-argument.js |
BEGIN TEST *
************ |
1022 |
dashed-date.js |
|
5019 |
defaultvalue.js |
BEGIN TEST *
************ |
4409 |
dst-offset-caching-1-of-8.js |
|
170 |
dst-offset-caching-2-of-8.js |
|
170 |
dst-offset-caching-3-of-8.js |
|
170 |
dst-offset-caching-4-of-8.js |
|
170 |
dst-offset-caching-5-of-8.js |
|
170 |
dst-offset-caching-6-of-8.js |
|
170 |
dst-offset-caching-7-of-8.js |
|
170 |
dst-offset-caching-8-of-8.js |
|
170 |
equality-to-boolean.js |
BEGIN TEST *
************ |
1250 |
fractions.js |
BEGIN TEST *
************ |
563 |
makeday-year-month-is-infinity.js |
|
447 |
non-iso.js |
For the sake of cross compatibility with other implementations we
follow the W3C "NOTE-datetime" specification when parsing dates of
the form YYYY-MM-DDTHH:MM:SS save for a few exceptions: months, days, hours
minutes, and seconds may be either one _or_ two digits long, and the 'T'
preceding the time part may be replaced with a space. So, a string like
"1997-3-8 1:1:1" will parse successfully. See bug: 1203298
|
2983 |
parse-dashed-numeric-date.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
4935 |
parse-day-of-week.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2056 |
parse-from-tostring-methods.js |
|
1328 |
parse-keywords.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1502 |
parse-milliseconds.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2450 |
parse-month.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2478 |
parse-num-preceding-alpha.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1496 |
parse-period.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1318 |
parse-single-number.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1576 |
parse-time-zone.js |
|
362 |
parse-timezone-without-gmt.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
3148 |
parse-year-after-timezone.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
1208 |
parse-zulu-time.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
690 |
prototype-is-not-a-date.js |
|
406 |
regress-188211.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
877 |
regress-301738-01.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
2889 |
regress-309925-01.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
617 |
regress-309925-02.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
645 |
regress-346027.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
814 |
regress-346363.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
838 |
regress-452786.js |
-*- indent-tabs-mode: nil; js-indent-level: 2 -*- |
849 |
reset-time-zone-cache-same-offset.js |
|
1082 |
setTime-argument-shortcircuiting.js |
BEGIN TEST *
************ |
4482 |
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
--- |
10256 |
time-components-negative-zero.js |
|
596 |
time-zone-2038-pst.js |
|
1827 |
time-zone-etc_localetime.js |
|
1110 |
time-zone-path.js |
|
1672 |
time-zone-pst.js |
|
5732 |
time-zones-historic.js |
|
21855 |
time-zones-imported.js |
steps 1-2 |
33458 |
time-zones-pedantic.js |
|
585 |
time-zones-posix.js |
|
5840 |
time-zones.js |
|
10875 |
timeclip.js |
BEGIN TEST *
************ |
1010 |
to-temporal-instant.js |
|
2644 |
toISOString-01.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1973 |
toISOString.js |
|
636 |
toJSON-01.js |
BEGIN TEST *
************ |
6708 |
toPrimitive.js |
|
2503 |
toString-generic.js |
|
608 |
toString-localized-posix.js |
|
2730 |
toString-localized.js |
|
3597 |
two-digit-years.js |
For the sake of cross compatibility with other implementations we
implement date parsing heuristics which support single and double
digit years. See bug: 1265136
|
2252 |
UTC-convert-all-arguments.js |
BEGIN TEST *
************ |
1444 |