Ensure that year is valid and not in the future