Rules of the Gregorian leap year:\n- Every year divisible by 4 adds a February 29th.\n- Years divisible by 100 must also be divisible by 400 to stay leap years.\n- Centuries that fail the 400 check stay 365 days, keeping the calendar aligned with astronomy.\n