This package defines:
AbstractInterval
, along with its subtypes:Interval{T,L,R}
, which represents a non-iterable range between two endpoints of typeT
with left/right bounds types respectively beingL
andR
AnchoredInterval{P,T,L,R}
, which represents a non-iterable range defined by a single valueanchor::T
and the value typeP
which represents the span of the range. Left/right bounds types are specifed byL
andR
respectivelyHourEnding
, a type alias forAnchoredInterval{Hour(-1)}
HourBeginning
, a type alias forAnchoredInterval{Hour(1)}
HE
andHB
, pseudoconstructors forHourEnding
andHourBeginning
that round the anchor up (HE
) or down (HB
) to the nearest hour
Bound
, abstract type for all possible bounds type classifications:Closed
, indicating the endpoint value of the interval is includedOpen
, indicating the endpoint value of the interval is not includedUnbounded
, indicating the endpoint value is effectively infinite