19f286ff

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

ical-recurrence: ignore a ByWeekNo that the year does not have

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

fromWeekDateWithStart never fails: it adds 7 * (w - 1) days to the first
day of the first week of the year, so a week number the year does not
have simply lands in the following year.  Nothing downstream checked that
the day was still in the year being expanded.

Guard on the number of weeks in the year instead.  Filtering in
byWeekNoExpand would have been wrong, because an empty result there falls
through to the branch that expands by month and day and would produce an
instance rather than none.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 12s 1s 1s 14s 12s
Eval 18s 15s 15s 34s 4s
Build 33s 6m07s 40m57s 41m31s 38m53s
Suite 12s 6m25s 41m18s 41m31s 39m10s

Timeline

0s20s30s39m30s39m40s39m50s40m40m10s40m20s40m30s40m40s40m50s41m41m10s41m20s41m30s