DateTimeInterval.iterate function added