| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Calendar
Calendar.TimeRange

# Method Calendar.TimeRange()->distance()

Method distance

  `TimeRange range(TimeRange other)`
  `TimeRange space(TimeRange other)`
  `TimeRange distance(TimeRange other)`

Description

  Derives different time periods in between the called timerange and the parameter timerange.

      >- the past          the future -<
       |--called--|         |--other--|
       >------------ range -----------<
                  >--space--<
       >----- distance -----<

  See also: add, TimeRanges.range, TimeRanges.space, TimeRanges.distance