setValidator

Limits valid dates to those for which DateValidator.isValid is true. Defaults to all dates as valid.