dojox.date.posix.setIsoWeekOfYear
dojo.require("dojox.date.posix");
defined in dojox/date/posix.js
Set the ISO8601 week number of the given date. The week containing January 4th is the first week of the year.
parameter | type | description |
---|---|---|
dateObject | Date | |
week | Number | can be positive or negative: -1 is the year's last week. |