ethiopian-gregorian-date-converter
Version:
Library for converting between Ethiopian and Gregorian dates
14 lines (13 loc) • 398 B
TypeScript
import { GDate } from "./greg";
export declare class EthDate {
year: number;
month: number;
day: number;
constructor(year: number, month: number, day: number);
toGreg(): GDate;
toString(): string;
getTerm(): number;
dayOfYear(): number;
static dayCount(month: number, year: number): number;
static fromDayOfYear(dayOfYear: number, _year: number): EthDate;
}