UNPKG

762 BTypeScriptView Raw
1import { NgbDate } from '../ngb-date';
2import { NgbCalendar, NgbPeriod } from '../ngb-calendar';
3import * as i0 from "@angular/core";
4export declare class NgbCalendarPersian extends NgbCalendar {
5 getDaysPerWeek(): number;
6 getMonths(): number[];
7 getWeeksPerMonth(): number;
8 getNext(date: NgbDate, period?: NgbPeriod, number?: number): NgbDate;
9 getPrev(date: NgbDate, period?: NgbPeriod, number?: number): NgbDate;
10 getWeekday(date: NgbDate): number;
11 getWeekNumber(week: readonly NgbDate[], firstDayOfWeek: number): number;
12 getToday(): NgbDate;
13 isValid(date?: NgbDate | null): boolean;
14 static ɵfac: i0.ɵɵFactoryDeclaration<NgbCalendarPersian, never>;
15 static ɵprov: i0.ɵɵInjectableDeclaration<NgbCalendarPersian>;
16}