1 | import { NgbCalendarIslamicCivil } from './ngb-calendar-islamic-civil';
|
2 | import { NgbDate } from '../ngb-date';
|
3 | export declare class NgbCalendarIslamicUmalqura extends NgbCalendarIslamicCivil {
|
4 | /**
|
5 | * Returns the equivalent islamic(Umalqura) date value for a give input Gregorian date.
|
6 | * `gdate` is s JS Date to be converted to Hijri.
|
7 | */
|
8 | fromGregorian(gDate: Date): NgbDate;
|
9 | /**
|
10 | * Converts the current Hijri date to Gregorian.
|
11 | */
|
12 | toGregorian(hDate: NgbDate): Date;
|
13 | /**
|
14 | * Returns the number of days in a specific Hijri hMonth.
|
15 | * `hMonth` is 1 for Muharram, 2 for Safar, etc.
|
16 | * `hYear` is any Hijri hYear.
|
17 | */
|
18 | getDaysPerMonth(hMonth: number, hYear: number): number;
|
19 | }
|