class Chronic::Range
- Chronic::Range
- Reference
- Object
Included Modules
- Iterator(Time)
Defined in:
chronic/range.crConstructors
- .new(begin __arg0 : ::Time, end __arg1 : ::Time, exclusive : Bool = false)
- .new(range : ::Range(::Time, ::Time))
Instance Method Summary
- #exclusive? : Bool
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements. - #step : ::Time::Span
- #step=(step : ::Time::Span)
Constructor Detail
Instance Method Detail
def next
#
Description copied from module Iterator(Time)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.