import { toDate as u } from "./toDate.js";
function f(t, r) {
  const e = u(t, r == null ? void 0 : r.in), a = e.getFullYear();
  return e.setFullYear(a + 1, 0, 0), e.setHours(23, 59, 59, 999), e;
}
export {
  f as default,
  f as endOfYear
};
