A way to get interval date spans from set arguments.