徐总多门店
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.

26 lines
1006 B

5 months ago
export type FirstDayOfWeek = 0 | 1 | 2 | 3 | 4 |5 | 6
/**
*
* @param date //
* @param offsetWeek ()
*/
export declare function getWhatWeek(date: string | Date | number, offsetWeek?: FirstDayOfWeek): Date;
/**
* ,(0~6)
* @param date //
* @param offsetWeek 0
* @param offsetDay 0123456
* @param firstDay
*/
export declare function getWhatWeek(date: string | Date | number, offsetWeek?: number, offsetDay?: FirstDayOfWeek, firstDay?: FirstDayOfWeek): Date;
declare module './ctor' {
interface XEUtilsMethods {
getWhatWeek: typeof getWhatWeek;
}
}
export default getWhatWeek