Abort if year is not a number.