import { toDate as u } from "./toDate.js";
function o(n, r) {
  const t = u(n, r == null ? void 0 : r.in), e = t.getMonth(), a = e - e % 3;
  return t.setMonth(a, 1), t.setHours(0, 0, 0, 0), t;
}
export {
  o as default,
  o as startOfQuarter
};
