Each rule holds across eras

All 12 scenarios hold

A leap year is a year with an extra day added to the calendar — February 29 — to keep the calendar year aligned with Earth’s orbit around the Sun. * A normal year has 365 days, but Earth takes about 365.2422 days to orbit the Sun. * To account for this extra fraction, we add one day every 4 years. * Exception: Years divisible by 100 are not leap years unless they are also divisible by 400.

expected outcome broken scenario
ScenarioYearIs Leap Year?
Not divisible by 4
  • 1
  • 2001
  • 30001
No
Divisible by 4
  • 4
  • 2004
  • 30008
Yes
Divisible by 100 but not by 400
  • 100
  • 2100
  • 30300
No
Divisible by 400
  • 400
  • 2000
  • 30000
Yes