META-INF.resources.bower_components.globalize.src.date.is-leap-year.js Maven / Gradle / Ivy
define(function () {
/**
* isLeapYear( year )
*
* @year [Number]
*
* Returns an indication whether the specified year is a leap year.
*/
return function (year) {
return new Date(year, 1, 29).getMonth() === 1;
};
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy