isLeapYear(year) → Boolean
Determines if a given date is a leap year.
Name | Type | Description |
---|---|---|
year |
Number | The year to be tested. |
Returns:
True if
year
is a leap year.
Example:
var leapYear = Cesium.isLeapYear(2000); // true
Source:
Core/isLeapYear.js, line 19