date validation rules for start and end date