Functiondojox.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.

Usage

function (/*Date*/ dateObject, /*Number*/ week) (view source)
parametertypedescription
dateObjectDate 
weekNumbercan be positive or negative: -1 is the year's last week.