The date.isLeapYear() method returns a boolean depending if the year in the date is a leap year or not.
Return Value
True if it is a leap year else false.
Example
pjs.define("date", { type: 'date', initValue: '2016-12-01'}) date.isLeapYear(); //true
The date.isLeapYear() method returns a boolean depending if the year in the date is a leap year or not.
Return Value
True if it is a leap year else false.
pjs.define("date", { type: 'date', initValue: '2016-12-01'}) date.isLeapYear(); //true