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