"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const normalizeDates = require("./_lib-normalizeDates.cjs");
function differenceInCalendarYears(laterDate, earlierDate, options) {
  const [laterDate_, earlierDate_] = normalizeDates.normalizeDates(
    options?.in,
    laterDate,
    earlierDate
  );
  return laterDate_.getFullYear() - earlierDate_.getFullYear();
}
exports.default = differenceInCalendarYears;
exports.differenceInCalendarYears = differenceInCalendarYears;
//# sourceMappingURL=differenceInCalendarYears.cjs.map
