Refine num2year.