Add function to DateTimeUtils for getting time record intervals as pairs of DateTime objects.

I would love to use DatePeriod objects, but they do not provide anyway of getting the start and end DateTime elements.

Signed-off-by: Max Fierke <max@maxfierke.com>