Added exceptions for year 365