Added IntervalInterface::duration() (#4)