Files

13 lines
454 B
TypeScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
import { NgbDate } from '../ngb-date';
/**
* Returns the equivalent JS date value for a give input Buddhist date.
* `date` is an Buddhist date to be converted to Gregorian.
*/
export declare function toGregorian(date: NgbDate): Date;
/**
* Returns the equivalent Buddhist date value for a give input Gregorian date.
* `gdate` is a JS Date to be converted to Buddhist.
* utc to local
*/
export declare function fromGregorian(gdate: Date): NgbDate;