view test/script/basic/JDK-8013337.js.EXPECTED @ 226:b532eeab085f

8013337: Issues with Date.prototype's get, set functions Reviewed-by: jlaskey, hannesw, lagergren
author sundar
date Fri, 26 Apr 2013 18:31:42 +0530
parents
children
line wrap: on
line source
new Date(NaN).setFullYear(NaN) = NaN
new Date(0).setYear(70) = 0
new Date(0).setYear(NaN) = NaN
new Date(NaN).setYear(70) = -19800000
new Date(NaN).getTimezoneOffset() = NaN
Date.prototype.setMilliseconds calls valueOf on arg
Date.prototype.setUTCMilliseconds calls valueOf on arg
Date.prototype.setSeconds calls valueOf on arg
Date.prototype.setUTCSeconds calls valueOf on arg
Date.prototype.setMinutes calls valueOf on arg
Date.prototype.setUTCMinutes calls valueOf on arg
Date.prototype.setHours calls valueOf on arg
Date.prototype.setUTCHours calls valueOf on arg
Date.prototype.setDate calls valueOf on arg
Date.prototype.setUTCDate calls valueOf on arg
Date.prototype.setMonth calls valueOf on arg
Date.prototype.setUTCMonth calls valueOf on arg