79a7b4d6

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 3m54s 1s 1s 3m55s 3m54s
Eval 4m10s 11s 11s 4m22s 14s
Build 4m21s 0s 27m40s 32m01s 27m39s
Suite 3m54s 12s 28m06s 32m01s 31m48s

Timeline

0s4m20s