Asserts that the provided year is a valid date year.
The year to be validated
void
Will throw an error if the year is not valid.
assertValidDateYear(2020);;//=> undefinedassertValidDateYear(10000);;//=> Error: Invalid year: 10000. Copy
assertValidDateYear(2020);;//=> undefinedassertValidDateYear(10000);;//=> Error: Invalid year: 10000.
Generated using TypeDoc
Asserts that the provided year is a valid date year.