validateDateInput (val) {
    return val === null || val instanceof Date || typeof val === 'string' || typeof val === 'number'
  }
method used as a prop validator for input values
@param {*} val
@return {Boolean}