Functiondojox.date.posix.getIsoWeeksInYear

dojo.require("dojox.date.posix");
defined in dojox/date/posix.js

Determine the number of ISO8601 weeks in the year of the given date. Most years have 52 but some have 53. See http://www.phys.uu.nl/~vgent/calendar/isocalendar_text3.htm

Usage

function (/*Date*/ dateObject) (view source)
parametertypedescription
dateObjectDate