Set time zone with negative offset. For example (UTC-01:00).
Perform validation.
Method isDateValid returns false, then library throws exception.
d.setTime( d.getTime() + d.getTimezoneOffset() 60 1000 );
After this row variable 'd' has value "Sun Dec 31 1899 23:59:28 GMT-0154".
Steps to reproduce:
Method isDateValid returns false, then library throws exception. d.setTime( d.getTime() + d.getTimezoneOffset() 60 1000 ); After this row variable 'd' has value "Sun Dec 31 1899 23:59:28 GMT-0154".