import { timeInterval } from "./interval.js";
const timeMonth = timeInterval((e) => {
	e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, n) => {
	e.setMonth(e.getMonth() + n);
}, (e, n) => n.getMonth() - e.getMonth() + (n.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
timeMonth.range;
const utcMonth = timeInterval((e) => {
	e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, n) => {
	e.setUTCMonth(e.getUTCMonth() + n);
}, (e, n) => n.getUTCMonth() - e.getUTCMonth() + (n.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
utcMonth.range;
export { timeMonth, utcMonth };
