import { normalizeDates } from "./_lib-normalizeDates.js";
function differenceInCalendarYears(laterDate, earlierDate, options) {
  const [laterDate_, earlierDate_] = normalizeDates(
    options?.in,
    laterDate,
    earlierDate
  );
  return laterDate_.getFullYear() - earlierDate_.getFullYear();
}
export {
  differenceInCalendarYears as default,
  differenceInCalendarYears
};
//# sourceMappingURL=differenceInCalendarYears.js.map
