/** * 返回前几年或后几年的日期 * * @param {Date} date 日期或数字 * @param {number} offset 年(默认当前年)、前几个年(数值)、后几个年(数值) * @param {Number/String} month 获取哪月(null默认当前年)、年初(first)、年末(last)、指定月份(0-11) * @return {Date} */ declare function getWhatYear(date: any, offset: any, month?: any): any; export default getWhatYear;