Add validations for ClassDate