Returns a validator function that checks if the control value is a date before the specified maximum date.
The maximum date.
Returns a validator function that checks if the control value is a date before the specified maximum date.