UNPKG

926 BTypeScriptView Raw
1import { NgbCalendarIslamicCivil } from './ngb-calendar-islamic-civil';
2import { NgbDate } from '../ngb-date';
3import * as i0 from "@angular/core";
4export declare class NgbCalendarIslamicUmalqura extends NgbCalendarIslamicCivil {
5 /**
6 * Returns the equivalent islamic(Umalqura) date value for a give input Gregorian date.
7 * `gdate` is s JS Date to be converted to Hijri.
8 */
9 fromGregorian(gDate: Date): NgbDate;
10 /**
11 * Converts the current Hijri date to Gregorian.
12 */
13 toGregorian(hDate: NgbDate): Date;
14 /**
15 * Returns the number of days in a specific Hijri hMonth.
16 * `hMonth` is 1 for Muharram, 2 for Safar, etc.
17 * `hYear` is any Hijri hYear.
18 */
19 getDaysPerMonth(hMonth: number, hYear: number): number;
20 static ɵfac: i0.ɵɵFactoryDeclaration<NgbCalendarIslamicUmalqura, never>;
21 static ɵprov: i0.ɵɵInjectableDeclaration<NgbCalendarIslamicUmalqura>;
22}