IsLeapYear
Tests if a given year is a leap year.
Syntax
-
IsLeapYear(y)
-
y
(year) is an integer
-
Description
If y
is an integer, then IsLeapYear(y)
returns true
iff the year y
is a leap year.
Examples
IsLeapYear(1952)
true