object with start and end date