Test a date to be before another date.
Minimum value.
Test a date to be before another date.
Maximum value.
Test if the value matches a custom validation function. The validation function should return true
if the value
passes the function. If the function either returns false
or a string, the function fails and the string will be
used as error message.
Validation function.
Invert the following validators.