docs: function (text, hasErrors) {
              // return object
              var report;
              // an empty field is usually not considered as an error
              if (!text) {
                  report = this.checkValue(null);
              } else {
                  if (text === this._dataModel.displayText) {
                      report = new ariaWidgetsControllersReportsControllerReport();
                      report.ok = true;
                  } else {
                      var date = this.interpretText(text);
                      if (date) {
                          report = this.checkValue(date);
                      } else {
                          report = new ariaWidgetsControllersReportsControllerReport();
                          report.ok = false;
                          report.errorMessages.push(this.getErrorMessage("validation"));
                      }
                  }
              }
  
              return report;
          }