Utility for creating date ranges.