setValidator

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