intl-date
Version:
Javascript library to represent and work with dates in different calendar systems (e.g. hijri, persian and others).
11 lines (10 loc) • 356 B
TypeScript
import CalendarType from '../types/CalendarType';
/**
* @author Khalid H. Alharisi
*/
declare const fromGregorian: (calendarType: CalendarType, date: Date) => number[];
/**
* @author Khalid H. Alharisi
*/
declare const toGregorian: (calendarType: CalendarType, y: number, m: number, d: number) => Date;
export { fromGregorian, toGregorian };