utils.d.ts 801B

12345678910111213
  1. export declare const ROW_HEIGHT = 64;
  2. export declare function formatMonthTitle(date: Date): string;
  3. export declare function compareMonth(date1: Date | number, date2: Date | number): 1 | -1 | 0;
  4. export declare function compareDay(day1: Date | number, day2: Date | number): 1 | -1 | 0;
  5. export declare function getDayByOffset(date: Date, offset: number): Date;
  6. export declare function getPrevDay(date: Date): Date;
  7. export declare function getNextDay(date: Date): Date;
  8. export declare function getToday(): Date;
  9. export declare function calcDateNum(date: [Date, Date]): number;
  10. export declare function copyDates(dates: Date | Date[]): Date | Date[];
  11. export declare function getMonthEndDay(year: number, month: number): number;
  12. export declare function getMonths(minDate: number, maxDate: number): number[];