"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const DATEDELTA = (dateStr, offset) => {
  const date = new Date(dateStr);
  if (isNaN(date.getTime())) {
    return null;
  }
  const result = new Date(date);
  result.setDate(result.getDate() + Number(offset));
  return result;
};
exports.DATEDELTA = DATEDELTA;
