UNPKG

easter-date

Version:

Calculate the date of Easter for a given year

11 lines (10 loc) 275 B
/** * Returns the date of Easter Monday for a given year. * @param year */ export declare function getEasterMonday(year: number): Date; /** * Returns true if the given date is Easter Monday. * @param date */ export declare function isEasterMonday(date: Date): boolean;