NIST definition -
Looks like you're right again
As an non-simplified truth table mine may be correct as well
if simplified, I believe the results would be that same as yours
Quote:Leap years are years with 366 days, instead of the usual 365. Leap years are necessary because the actual length of a year is about 365.242 days, not 365 days, as commonly stated. Basically, leap years occur every 4 years, and years that are evenly divisible by 4 (2004, for example) have 366 days. This extra day is added to the calendar on February 29th.Now I have to go back and examine what I stated earlier.
However, there is one exception to the leap year rule involving century years, such as the year 1900. Since the year is slightly less than 365.25 days long, adding an extra day every 4 years results in about 3 extra days being added over a period of 400 years. For this reason, only 1 out of every 4 century years is considered as a leap year. Century years are considered as leap years only if they are evenly divisible by 400. Therefore, 1700, 1800, 1900 were not leap years, and 2100 will not be a leap year. However, 1600 and 2000 were leap years, because those year numbers are evenly divisible by 400.
Looks like you're right again
As an non-simplified truth table mine may be correct as well
if simplified, I believe the results would be that same as yours