"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const constructFrom = require("./constructFrom.cjs");
const toDate = require("./toDate.cjs");
function addDays(date, amount, options) {
  const _date = toDate.toDate(date);
  if (isNaN(amount)) return constructFrom.constructFrom(date, NaN);
  if (!amount) return _date;
  _date.setDate(_date.getDate() + amount);
  return _date;
}
exports.addDays = addDays;
exports.default = addDays;
//# sourceMappingURL=addDays.cjs.map
