InternalValidate method

  1. @override
void InternalValidate(
  1. ServiceRequestBase request
)
override
Validate instance.

Implementation

@override
void InternalValidate(ServiceRequestBase request) {
  super.InternalValidate(request);

  // todo : review time comparision
  if (this._endDate!.millisecondsSinceEpoch <
      this.StartDate!.millisecondsSinceEpoch) {
    throw new ServiceValidationException(
        "Strings.EndDateMustBeGreaterThanStartDate");
  }
}