Files
echo-nexus/node_modules/react-day-picker/dist/cjs/ethiopic/utils/isEthiopicLeapYear.js
T

13 lines
352 B
JavaScript

"use strict";
/**
* Checks if a given Ethiopic year is a leap year.
*
* @param year - The Ethiopic year.
* @returns True if the year is a leap year; otherwise, false.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEthiopicLeapYear = isEthiopicLeapYear;
function isEthiopicLeapYear(year) {
return year % 4 === 3;
}