Description
Intervals and interval sets can be modeled with operations such as union, intersection, and membership checks. Developers use portion for scheduling, validation ranges, numeric domains, and rule engines. Boundary semantics should be documented to avoid off-by-one mistakes.