Added validation for Year processing.