UNPKG

@daysnap/utils

Version:
8 lines (6 loc) 255 B
/** * 获取月份的开始时间和结束时间 */ declare function getMonthBounds(value: string | number | Date): [Date, Date]; declare function getMonthBounds(value: string | number | Date, fmt: string): [string, string]; export { getMonthBounds };