Improved processing for year, month, and day ranges.