EASYAIuniappNewUI/node_modules/licia/isLeapYear.js
2025-02-08 18:50:38 +08:00

6 lines
126 B
JavaScript

exports = function(year) {
return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);
};
module.exports = exports;