Non-iterable ranges
This package defines:
AbstractInterval
, along with its subtypes:Interval{T,L,R}
, which represents a non-iterable range between two endpoints of type T
L
and R
AnchoredInterval{P,T,L,R}
, which represents a non-iterable range defined by a singleanchor::T
and the value type P
which represents the span of the range. Left/right bounds types are specifedL
and R
respectivelyHourEnding
, a type alias for AnchoredInterval{Hour(-1)}
HourBeginning
, a type alias for AnchoredInterval{Hour(1)}
HE
and HB
, pseudoconstructors for HourEnding
and HourBeginning
that round theHE
) or down (HB
) to the nearest hourBound
, 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