FAILURE MAP
← Case archive

FA-77295 / Calendar recurrence rules / Member archive

Closed-form final date of a COUNT-limited weekly BYDAY series: week scale · case 05

An every-other-week series reports an end date halfway through the real series.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

For FREQ=WEEKLY;INTERVAL;BYDAY;WKST;COUNT starting at dtstart (weeks begin on wkst, days of the first week before dtstart are skipped, active weeks every interval weeks from the dtstart week), compute the date of the final instance arithmetically, without expanding. count < 1 returns None. The result must equal the last element of the full expansion.

Why this case matters

Recurring calendar series are expanded into concrete instances for display, reminders and conflict checks.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
WKST=WE interval 2"2024-06-27""2024-07-25"Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗