import { constructFrom } from "./constructFrom.js";
import { toDate } from "./toDate.js";
function addDays(date, amount, options) {
  const _date = toDate(date);
  if (isNaN(amount)) return constructFrom(date, NaN);
  if (!amount) return _date;
  _date.setDate(_date.getDate() + amount);
  return _date;
}
export {
  addDays,
  addDays as default
};
//# sourceMappingURL=addDays.js.map
