Is Leap Year Calculator
This calculator determines if a specific year is a leap year.
Use Cases
- Calendar Logic: Developing scheduling software.
- History: Verifying dates in historical records.
- Planning: Accounting for the extra day in Feb.
Formula
A year is a leap year if:
- It is divisible by 4
- AND (it is NOT divisible by 100 OR it is divisible by 400)
IsLeap=(Year%4==0)∧((Year%100=0)∨(Year%400==0))