@calj.net/jdates
Version:
The Jewish Dates library from https://CalJ.net
20 lines (19 loc) • 595 B
TypeScript
import { JDate } from "./JDate";
export declare class GDate extends JDate {
static make(jdate: JDate): GDate;
static make(date: Date): GDate;
static make(day: number, month: number, year: number): GDate;
private constructor();
static isLeapYear(year: number): boolean;
static monthLength(year: number, month: number): number;
private static hdnForYmd;
static today(): GDate;
getDay(): number;
getMonth(): number;
getYear(): number;
plus(days: number): GDate;
private static calcFromHdn;
private day;
private month;
private year;
}