Python utility like xrange(), but for datetime objects.