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

Wed, 15 May 2013 20:21:59 +0200

author
attila
date
Wed, 15 May 2013 20:21:59 +0200
changeset 270
19e9cd9c7010
parent 0
b1a7da25b547
permissions
-rw-r--r--

8014647: Allow class-based overrides to be initialized with a ScriptFunction
Reviewed-by: hannesw, jlaskey, sundar

     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