Node.js examples for Date:Year
Is date year leap year
Date.prototype.isLeapYear = function() { //from w w w. j a v a 2 s .c om return (0==this.getYear()%4&&((this.getYear()%100!=0)||(this.getYear()%400==0))); }