b1fb904d

ical-recurrence: test that a weekly BySetPos does not depend on the limit

The limit is an implementation detail of this library, not part of the
recurrence rule, so it must only cut off results.  It must not change
which instance BYSETPOS selects.

weeklyDateTimeRecurrence has its 'd <= limit' guard inside the list
that filterSetPos numbers, so in the week that straddles the limit the
candidate set is truncated and BYSETPOS picks from the truncated set.
monthlyDateTimeRecurrence and yearlyDateTimeRecurrence have the same
problem; dailyDateTimeRecurrence does not, because there filterSetPos
only ever spans the times within one day.

The last week day of the week of the 20th of January 2020 is Friday the
24th, which lies beyond a limit of the 22nd, so the recurrence set up to
that limit contains no instance in that week at all.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1s 2s 2s 3s 1s
Eval 10s 11s 11s 21s 7s
Build 21s 19s 9m25s 9m46s 9m05s
Suite 1s 33s 9m45s 9m46s 9m13s

Timeline

0s20s9m30s9m40s