mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
18 lines
771 B
TypeScript
18 lines
771 B
TypeScript
export declare const ROW_HEIGHT = 64;
|
|
export declare function formatMonthTitle(date: Date): string;
|
|
export declare function compareMonth(
|
|
date1: Date | number,
|
|
date2: Date | number
|
|
): 0 | 1 | -1;
|
|
export declare function compareDay(
|
|
day1: Date | number,
|
|
day2: Date | number
|
|
): 0 | 1 | -1;
|
|
export declare function getDayByOffset(date: Date, offset: number): Date;
|
|
export declare function getPrevDay(date: Date): Date;
|
|
export declare function getNextDay(date: Date): Date;
|
|
export declare function calcDateNum(date: [Date, Date]): number;
|
|
export declare function copyDates(dates: Date | Date[]): Date | Date[];
|
|
export declare function getMonthEndDay(year: number, month: number): number;
|
|
export declare function getMonths(minDate: number, maxDate: number): number[];
|