import { millisecondsInWeek as m } from "./constants.js";
import { startOfWeek as a } from "./startOfWeek.js";
import { startOfWeekYear as d } from "./startOfWeekYear.js";
import { toDate as c } from "./toDate.js";
function l(t, e) {
  const r = c(t, e == null ? void 0 : e.in), f = +a(r, e) - +d(r, e);
  return Math.round(f / m) + 1;
}
export {
  l as default,
  l as getWeek
};
