UNPKG

@hebcal/hdate

Version:

converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold

22 lines (21 loc) 583 B
/** * Represents a molad, the moment when the new moon is "born" */ export type Molad = { /** Hebrew year */ readonly year: number; /** Hebrew month */ readonly month: number; /** Day of Week (0=Sunday, 6=Saturday) */ readonly dayOfWeek: number; /** hour of day (0-23) */ readonly hour: number; /** minutes past hour (0-59) */ readonly minutes: number; /** parts of a minute (0-17) */ readonly chalakim: number; }; /** * Calculates the molad for a Hebrew month */ export declare function molad(year: number, month: number): Molad;