"use client";
import { constructFrom as n } from "./constructFrom.js";
import { toDate as a } from "./toDate.js";
function u(r, e, o) {
  const t = a(r, o?.in);
  return isNaN(+t) ? n(r, NaN) : (t.setFullYear(e), t);
}
export {
  u as default,
  u as setYear
};
