FAILURE MAP
← Case archive

FA-76972 / Calendar recurrence rules / Member archive

Merging RRULE instances with RDATE and EXDATE: count vs exdate · case 02

Excluding one instance of a COUNT=5 series pushes a sixth instance onto the calendar.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

All-day series: the rule yields exactly count instances dtstart + k*interval days (COUNT counts rule instances before exclusions; RDATEs never consume COUNT). The instance set is rule plus RDATE minus EXDATE; EXDATE also removes RDATEs. EXDATE values may carry a time part (YYYY-MM-DDTHH:MM:SS) and then exclude their calendar date. Return the unique dates sorted ascending.

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
midnight exdate["2024-03-01", "2024-03-03", "2024-03-04"]["2024-03-01", "2024-03-03"]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 ↗