UNPKG

ethioholiday

Version:

A comprehensive Ethiopian holidays calculator that works with both Ethiopian and Gregorian calendar systems

23 lines (22 loc) 541 B
type EthiopianDate = { year: number; month: number; day: number; }; type GregorianDate = { year: number; month: number; day: number; }; export type Holiday = { name: string; ethiopianDate: EthiopianDate; gregorianDate: GregorianDate; isPublicHoliday: boolean; }; /** * Generate all holidays for a given Ethiopian year */ export declare function getEthiopianHolidays(ethiopianYear: number): Holiday[]; export declare function getHolidaysForGregorianYear(gregorianYear: number): Holiday[]; export {};