improve DateRange class