UNPKG

533 BTypeScriptView Raw
1export declare class MonthAndYear {
2 static fromDate(date: Date | null): MonthAndYear;
3 private date;
4 constructor(month?: number, year?: number);
5 clone(): MonthAndYear;
6 getFullDate(): Date;
7 getMonth(): number;
8 getYear(): number;
9 getPreviousMonth(): MonthAndYear;
10 getNextMonth(): MonthAndYear;
11 isBefore(monthAndYear: MonthAndYear): boolean;
12 isAfter(monthAndYear: MonthAndYear): boolean;
13 isSame(monthAndYear: MonthAndYear): boolean;
14 isSameMonth(monthAndYear: MonthAndYear): boolean;
15}