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.
18 lines
375 B
18 lines
375 B
/**
|
|
* 判断是否闰年
|
|
* @param date 日期
|
|
*/
|
|
export declare function isLeapYear(date: Date | number | string): boolean;
|
|
export declare function isLeapYear(date: any): boolean;
|
|
|
|
declare module './ctor' {
|
|
interface XEUtilsMethods {
|
|
/**
|
|
* 判断是否闰年
|
|
* @param date 日期
|
|
*/
|
|
isLeapYear: typeof isLeapYear;
|
|
}
|
|
}
|
|
|
|
export default isLeapYear
|
|
|