FAILURE MAP
← Case archive

FA-76870 / Calendar recurrence rules / Member archive

Monthly BYMONTHDAY expansion with negative and invalid days: year carry · case 05

A series that crosses December reports January instances in the previous year.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

FREQ=MONTHLY with a BYMONTHDAY list. Positive values count from the first day, negative values from the last day (-1 is the last day). A value that does not exist in a month is skipped for that month, never clamped. Months step by interval from the dtstart month; instances before dtstart are dropped; coinciding values yield one instance. Return the first count ISO dates in chronological order.

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
interval 3 from october["2023-10-15", "2023-10-31", "2024-10-15", "2024-10-31", "2024-01-15"]["2023-10-15", "2023-10-31", "2024-01-15", "2024-01-31", "2024-04-15"]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 ↗