UNPKG

952 BTypeScriptView Raw
1import { NgbDate } from '../ngb-date';
2import { NgbCalendar, NgbPeriod } from '../ngb-calendar';
3import * as i0 from "@angular/core";
4/**
5 * @since 3.2.0
6 */
7export declare class NgbCalendarHebrew extends NgbCalendar {
8 getDaysPerWeek(): number;
9 getMonths(year?: number): number[];
10 getWeeksPerMonth(): number;
11 isValid(date?: NgbDate | null): boolean;
12 getNext(date: NgbDate, period?: NgbPeriod, number?: number): NgbDate;
13 getPrev(date: NgbDate, period?: NgbPeriod, number?: number): NgbDate;
14 getWeekday(date: NgbDate): number;
15 getWeekNumber(week: readonly NgbDate[], firstDayOfWeek: number): number;
16 getToday(): NgbDate;
17 /**
18 * @since 3.4.0
19 */
20 toGregorian(date: NgbDate): NgbDate;
21 /**
22 * @since 3.4.0
23 */
24 fromGregorian(date: NgbDate): NgbDate;
25 static ɵfac: i0.ɵɵFactoryDeclaration<NgbCalendarHebrew, never>;
26 static ɵprov: i0.ɵɵInjectableDeclaration<NgbCalendarHebrew>;
27}