@hebcal/hdate
Version:
converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold
11 lines (10 loc) • 317 B
TypeScript
/**
* Gregorian date helper functions
*/
export declare namespace greg {
function abs2greg(abs: number): Date;
function daysInMonth(month: number, year: number): number;
function greg2abs(date: Date): number;
function isDate(obj: unknown): boolean;
function isLeapYear(year: number): boolean;
}