setStartDate and endStartDate expect Date objects