FA-77674 / Legal deadline computation / Member archive
Court holiday calendar with observed dates: next new year · case 04
When next New Year falls on Saturday, December 31 is missing from the calendar.
Case contract
Stipulated court holidays for a year: new-year (Jan 1), mlk (3rd Monday Jan), memorial (last Monday May), juneteenth (Jun 19), independence (Jul 4), labor (1st Monday Sep), thanksgiving (4th Thursday Nov), day-after-thanksgiving, christmas (Dec 25). Fixed-date holidays on Saturday are observed the Friday before and on Sunday the Monday after. When next year's January 1 is a Saturday, a new-year-observed entry falls on December 31 of this year; an observed date that falls in another year is not part of this year's calendar. Return [[name, date]] sorted by date.
Why this case matters
Docketing systems compute filing and response deadlines from trigger events; a wrong date can forfeit a right.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| 2027 five mondays may | [["new-year", "2027-01-01"], ["mlk", "2027-01-18"], ["memorial", "2027-05-31"], ["juneteenth", "2027-06-18"], ["independence", "2027-07-05"], ["labor", "2027-09-06"], ["thanksgiving", "2027-11-25"], ["day-after-thanksgiving", "2027-11-26"], ["christmas", "2027-12-24"]] | [["new-year", "2027-01-01"], ["mlk", "2027-01-18"], ["memorial", "2027-05-31"], ["juneteenth", "2027-06-18"], ["independence", "2027-07-05"], ["labor", "2027-09-06"], ["thanksgiving", "2027-11-25"], ["day-after-thanksgiving", "2027-11-26"], ["christmas", "2027-12-24"], ["new-year-observed", "2027-12-31"]] | 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 ↗