date.isLeapYear() method
Description
The isLeapYear() method determines whether the year portion of a date or timestamp value falls in a leap year.
Parameters
None.
Return Value
A Boolean value of true if the year is a leap year; otherwise, false.
Example
pjs.define("date", { type: 'date', initValue: '2016-12-01' });
console.log(date.isLeapYear()); // outputs true