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 adds the given number of months/years to end.
Expands the interval forwards in time. Effectively, it does end += duration.
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 it.
Whether this interval is before the given interval and does not intersect it.
Whether this interval is before the given interval and does not intersect it.
Returns the union of two intervals
Returns the union of two intervals
Shifts the end of this interval forward or backwards in time by the given duration (a positive duration shifts the interval forward; a negative duration shifts it backward). Effectively, it does end += duration.
Shifts the end of this 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 end. It effectively calls add!"years"() and then add!"months"() on 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.
Converts this interval to a string.
The end point of the interval. It is excluded from the interval.
The end point of the interval. It is excluded from the interval.
Whether the interval's length is 0. Always returns false.
Represents an interval of time which has negative infinity as its starting point.
Any ranges which iterate over a NegInfInterval are infinite. So, the main purpose of using NegInfInterval is to create an infinite range which starts at negative infinity and goes to a fixed end point. Iterate over it in reverse.