implemented Date and DateRange