Intervals.
duration
Duration of the interval
Return the duration of this interval, i.e. the sum of the difference between end and start for all periods in the current interval object. :return: