Returns a range which iterates backwards over the interval, starting at end, using func to generate each successive time point.
Whether the given time point is within this interval.
Whether the given interval is completely within this interval.
Whether the given interval is completely within this interval.
Whether the given interval is completely within this interval.
Expands the interval forwards and/or backwards in time. Effectively, it subtracts the given number of months/years from begin and adds them to end. Whether it expands forwards and/or backwards in time is determined by dir.
Returns a range which iterates forward over the interval, starting at begin, using func to generate each successive time point.
Returns the intersection of two intervals
Returns the intersection of two intervals
Returns the intersection of two intervals
Whether the given interval overlaps this interval.
Whether the given interval overlaps this interval.
Whether the given interval overlaps this interval.
Whether the given interval is adjacent to this interval.
Whether the given interval is adjacent to this interval.
Whether the given interval is adjacent to this interval.
Whether this interval is after the given time point.
Whether this interval is after the given interval and does not intersect it.
Whether this interval is after the given interval and does not intersect it.
Whether this interval is after the given interval and does not intersect it.
Whether this interval is before the given time point.
Whether this interval is before the given interval and does not intersect with it.
Whether this interval is before the given interval and does not intersect with it.
Whether this interval is before the given interval and does not intersect with it.
Returns the union of two intervals
Returns the union of two intervals
Returns the union of two intervals
Shifts the interval forward or backwards in time by the given number of years and/or months (a positive number of years and months shifts the interval forward; a negative number shifts it backward). It adds the years the given years and months to both begin and end. It effectively calls add!"years"() and then add!"months"() on begin and end with the given number of years and months.
Returns an interval that covers from the earliest time point of two intervals up to (but not including) the latest time point of two intervals.
Returns an interval that covers from the earliest time point of two intervals up to (but not including) the latest time point of two intervals.
Returns an interval that covers from the earliest time point of two intervals up to (but not including) the latest time point of two intervals.
Converts this interval to a string.
The starting point of the interval. It is included in the interval.
The starting point of the interval. It is included in the interval.
The end point of the interval. It is excluded from the interval.
The end point of the interval. It is excluded from the interval.
Returns the duration between begin and end.
Represents an interval of time.
An Interval has a starting point and an end point. The interval of time is therefore the time starting at the starting point up to, but not including, the end point. e.g.
A range can be obtained from an Interval, allowing iteration over that interval, with the exact time points which are iterated over depending on the function which generates the range.