Create a 'year' custom data type for better validation