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
424 B
17 lines
424 B
5 months ago
|
import { FirstDayOfWeek } from './getWhatWeek'
|
||
|
|
||
|
/**
|
||
|
* 返回某个月份的第几周
|
||
|
* @param date 字符串/日期/时间戳
|
||
|
* @param firstDay 周视图的起始天,默认星期一
|
||
|
*/
|
||
|
export declare function getMonthWeek(date: string | Date | number, firstDay?: FirstDayOfWeek): number;
|
||
|
|
||
|
declare module './ctor' {
|
||
|
interface XEUtilsMethods {
|
||
|
getMonthWeek: typeof getMonthWeek;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default getMonthWeek
|