Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

16 lines
694 B
TypeScript

import { NgbDate } from '../ngb-date';
/**
* Returns the equivalent JS date value for a give input Jalali date.
* `jalaliDate` is an Jalali date to be converted to Gregorian.
*/
export declare function toGregorian(jalaliDate: NgbDate): Date;
/**
* Returns the equivalent jalali date value for a give input Gregorian date.
* `gdate` is a JS Date to be converted to jalali.
* utc to local
*/
export declare function fromGregorian(gdate: Date): NgbDate;
export declare function setJalaliYear(date: NgbDate, yearValue: number): NgbDate;
export declare function setJalaliMonth(date: NgbDate, month: number): NgbDate;
export declare function setJalaliDay(date: NgbDate, day: number): NgbDate;