Removed unnecessary check for leap year.