Probably should specify that this is checking for a leap year according to the Gregorian calendar.