2b1d444a

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

ical-recurrence: sort the yearly occurrences of one year

@
the BYxxx rule parts
are applied to the current set of evaluated occurrences in the
following order: [...] and BYSETPOS; then COUNT and UNTIL are
evaluated.
@

COUNT and UNTIL range-bound the occurrences, so they have to arrive in
order.  The BYWEEKNO branch of yearlyDayCandidate iterates Monday to
Sunday whatever the week start is, so with WKST=SU the Sunday of a week
came out last even though it is the first day of that week.

Sort each year's occurrences, the way monthlyDateTimeRecurrence and
weeklyDateTimeRecurrence already sort each month's and each week's.
Sorting per year is enough for the whole list to ascend, because the
years themselves ascend.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 4s 3s 3s 7s 4s
Eval 7s 12s 12s 20s 0s
Build 20s 0s 10m36s 10m56s 10m36s
Suite 4s 15s 10m52s 10m56s 10m40s

Timeline

0s10s20s