You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
466 B
17 lines
466 B
5 months ago
|
/**
|
||
|
* 判断两个日期是否相同
|
||
|
* @param date1 日期
|
||
|
* @param date2 日期
|
||
|
* @param format 对比格式
|
||
|
*/
|
||
|
export declare function isDateSame(date1: Date | number | string, date2: Date | number | string, format?: string | null): boolean;
|
||
|
export declare function isDateSame(date1: any, date2: any, format?: string | null): boolean;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
isDateSame: typeof isDateSame;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default isDateSame
|