Valid values are 1 to 53 or -53 to -1.
This corresponds to weeks according to week numbering as defined in
[ISO 8601]. A week is defined as a seven day period, starting on the day
of the week defined to be the week start (see setWeekStart). Week number
one of the calendar year is the first week which contains at least four
days in that calendar year. This rule is only valid for YEARLY rules.
For example, 3 represents the third week of the year.
Note: Assuming a Monday week start, week 53 can only occur when
Thursday is January 1 or if it is a leap year and Wednesday is January 1.
public setByWeekNumber ( array $byWeekNumber ) | ||
$byWeekNumber | array | Array of ordinals specifying weeks of the year. |