test/script/basic/JDK-8013337.js.EXPECTED

Mon, 07 Apr 2014 21:57:33 +0530

author
sundar
date
Mon, 07 Apr 2014 21:57:33 +0530
changeset 830
3cb09c560108
parent 0
b1a7da25b547
permissions
-rw-r--r--

8039387: Nashorn supports indexed access of List elements, but length property is not supported
Reviewed-by: lagergren, jlaskey

     1 new Date(NaN).setFullYear(NaN) = NaN
     2 new Date(0).setYear(70) = 0
     3 new Date(0).setYear(NaN) = NaN
     4 new Date(NaN).setYear(70) = -19800000
     5 new Date(NaN).getTimezoneOffset() = NaN
     6 Date.prototype.setMilliseconds calls valueOf on arg
     7 Date.prototype.setUTCMilliseconds calls valueOf on arg
     8 Date.prototype.setSeconds calls valueOf on arg
     9 Date.prototype.setUTCSeconds calls valueOf on arg
    10 Date.prototype.setMinutes calls valueOf on arg
    11 Date.prototype.setUTCMinutes calls valueOf on arg
    12 Date.prototype.setHours calls valueOf on arg
    13 Date.prototype.setUTCHours calls valueOf on arg
    14 Date.prototype.setDate calls valueOf on arg
    15 Date.prototype.setUTCDate calls valueOf on arg
    16 Date.prototype.setMonth calls valueOf on arg
    17 Date.prototype.setUTCMonth calls valueOf on arg

mercurial