function validatesDate() {
      Array.from(arguments).forEach(function (name) {
        this.validate(name, function () {
          this.validateDate(name);
        });
      }, this);
    }
function validatesDate() {
      Array.from(arguments).forEach(function (name) {
        this.validate(name, function () {
          this.validateDate(name);
        });
      }, this);
    }
function validatesDate ( ) { Array . from ( arguments ) . forEach ( function ( name ) { this . validate ( name , function ( ) { this . validateDate ( name ) ; } ) ; } , this ) ; }
Public: Adds a validator to the model that checks to make sure the given attributes are valid dates.  ...names - One or more attribute names.  Returns the receiver.
Public : Adds a validator to the model that checks to make sure the given attributes are valid dates . ... names - One or more attribute names . Returns the receiver .