dojo.date.isLeapYear
dojo.require("dojo.date");
defined in dojo/date.js
Leap years are years with an additional day YYYY-02-29, where the year number is a multiple of four with the following exception: If a year is a multiple of 100, then it is only a leap year if it is also a multiple of 400. For example, 1900 was not a leap year, but 2000 is one.
Usage
function (/*Date*/ dateObject) (view source)
parameter | type | description |
---|---|---|
dateObject | Date |