Basic implementation of intervals durations.