Validation to ensure start time is earlier than end time