/** * 获取某年某月有多少天 * @param year 年 * @param month 月 * @returns 天数 */ export declare const getMonthDays: (year: number, month: number) => number; /** * 获取某年某月第一天是星期几 * @param year 年 * @param month 月 * @returns 1-7 */ export declare const getFirstWeekday: (year: number, month: number) => number; /** * 获取某年某月日历数组 * @param year 年 * @param month 月 * @returns 日历二维数组,上月下月部分均填空 */ export declare const getMonthDayArr: (year: number, month: number) => string[][]; /** * 获取当前时间对应日历 */ export declare const getCurMonthDayArr: () => string[][]; /** * 获取时间字符串 * @param str 日期字符串 * @returns 例2020/10/10 23:59:00 */ export declare const getDateTimeStr: (str?: string) => string; /** * 判断是否为上午 * @param str 日期字符串 * @returns */ export declare const isBeforenoon: (str?: string) => boolean;