Add error when trying to generate dates with an start time later than the end time.