See the dojox/date/posix reference documentation for more information.
Get the ISO8601 week number of the given date. The week containing January 4th is the first week of the year. See http://en.wikipedia.org/wiki/ISO_week_date
Parameter | Type | Description |
---|---|---|
dateObject | Date |
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
Parameter | Type | Description |
---|---|---|
dateObject | Date |
Return a date object representing the first day of the given date's week.
Parameter | Type | Description |
---|---|---|
dateObject | Date | |
firstDay | Number |
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. |
Parameter | Type | Description |
---|---|---|
dateObject | Date | |
format | String | |
locale | String |
Optional
|