NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/xe-utils/methods/date/getWhatYear.d.ts

24 lines
1022 B
TypeScript
Raw Normal View History

2023-09-14 14:47:11 +08:00
import { XEUtilsMethods } from '../xe-utils'
/**
* ,(first)(last)(0~11)
* @param date //
* @param year ()()()
* @param month (null默认当前年)(first)(last)0-11
*/
export declare function getWhatYear(date: string | Date | number, year?: number | string, month?: number | string): Date;
declare module '../xe-utils' {
interface XEUtilsMethods {
/**
* ,(first)(last)(0~11)
* @param date //
* @param year ()()()
* @param month (null默认当前年)(first)(last)0-11
*/
getWhatYear: typeof getWhatYear;
}
}
export default getWhatYear