1 | /**
|
2 | * 判断两个日期是否相同
|
3 | * @param date1 日期
|
4 | * @param date2 日期
|
5 | * @param format 对比格式
|
6 | */
|
7 | export declare function isDateSame(date1: Date | number | string, date2: Date | number | string, format?: string | null): boolean;
|
8 | export declare function isDateSame(date1: any, date2: any, format?: string | null): boolean;
|
9 |
|
10 | declare module './ctor' {
|
11 | interface XEUtilsMethods {
|
12 | isDateSame: typeof isDateSame;
|
13 | }
|
14 | }
|
15 |
|
16 | export default isDateSame
|