DateRange
Daterange is a term used to describe a span of dates defined by a start date and an end date, representing a contiguous period on the calendar. It is used in scheduling, availability planning, reporting, and data analysis to capture a window of time such as a project duration, a room booking, or a data slice.
Representations vary. A range may be inclusive or exclusive at its endpoints; many systems adopt inclusive
Operations and data structures. Common operations include testing whether a date lies within a range, computing
Applications and examples. PostgreSQL implements a native daterange data type (and related range types) that models