Flowdock
gregorian_leap?(y) public

Is a year a leap year in the Gregorian calendar?

All years divisible by 4 are leap years in the Gregorian calendar, except for years divisible by 100 and not by 400.

Show source
Register or log in to add new notes.