import { WeekDays } from '../../common/types/week-days.type'; import { Period } from './period'; import { Week } from './week'; export declare class Month { date: Date; seedDate: Date; periodWeeks: number; private _enabledDates; private _disabledDates; private _hideExtraDays; private _weekStartsOn; private _minDate; private _maxDate; name: any; number: any; year: any; monthAndYear: any; months: any; years: any; weeks: Week[]; weeksByPeriod: Map; private _prevMonthDaysCount; private _monthStartDay; private _daysInMonth; constructor(date: Date, seedDate: Date, periodWeeks: number, _enabledDates: [Date, Date][], _disabledDates: [Date, Date][], _hideExtraDays: boolean, _weekStartsOn: WeekDays, _minDate: Date, _maxDate: Date); /** * Render days and weeks */ renderDays(): void; getPeriodById(id: number): false | Period; /** * Input period means that instance of period is not same instance * that was created for month. * It means that period and weeksByPeriod can have same periodIds but different object refs * * @param period */ updateSelectionForPeriod(period: Period): false | Period; /** * Init base month field * * @param date */ private _initMonth; /** * Depends on week day start it counts total number of days in month */ private _countTotalDaysInMonth; /** * Just for easy usage */ private _groupWeeks; private _markFirstAndLastWeeks; }