Simple class for generating date ranges.