UNPKG

@daysnap/utils

Version:
8 lines (6 loc) 313 B
/** * 获取月份开始时间、结束时间 */ declare function getDateBoundsByMonths(monthsCount: number, date: string | number | Date): [Date, Date]; declare function getDateBoundsByMonths(monthsCount: number, date: string | number | Date, fmt: string): [string, string]; export { getDateBoundsByMonths };