Non-iterable ranges
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.appveyor.yml
.gitignore
.travis.yml
CODEOWNERS
LICENSE
README.md
REQUIRE

README.md

Intervals

Stable Latest Build Status Build Status CodeCov

This package defines:

  • AbstractInterval, along with its subtypes:
    • Interval{T}, which represents a non-iterable range between two endpoints of type T
    • AnchoredInterval{P, T}, which represents a non-iterable range defined by a single value anchor::T and the value type P which represents the size of the range
      • HourEnding, 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 the anchor up (HE) or down (HB) to the nearest hour
  • Inclusivity, which represents whether an AbstractInterval is open, half-open, or closed