Examples Tour
Start With The Right Boundary Problem
These example pages are organized as a guided tour. Start with the operational-day primitive. Then branch into DST failure modes, shifting per-date boundaries, or specialized scenarios.
Recommended First Stop
Operational Day Demo
Start here if your real problem is “our business day does not start
at midnight.” This page covers stable window resolution, grouping,
and deriving a bucket date from window.start.
Open Operational Day Demo
Critical Cases
DST Critical Cases
Go here when you need to reason about spring-forward gaps,
fall-back ambiguity, and elapsed-versus-wall-clock duration drift.
Open DST Critical Cases
Suggested Tour Order
- Operational Day Demo: learn the main boundary-window primitive.
- DST Critical Cases: understand the high-risk clock-change failures.
- Shifting Day Demo: see a boundary that changes by date.
- Duration Scenarios: isolate elapsed-versus-wall-clock end semantics.
- API Snippets: review the smaller helper entry points.
- Hijri Maghrib Boundary POC: explore a dataset-backed, non-midnight calendar rule.