UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

12 lines (11 loc) 432 B
import toInteger from "../_lib/toInteger/index.js"; import toDate from "../toDate/index.js"; import requiredArgs from "../_lib/requiredArgs/index.js"; function addMilliseconds(dirtyDate, dirtyAmount) { requiredArgs(2, arguments); var timestamp = toDate(dirtyDate).getTime(); var amount = toInteger(dirtyAmount); return new Date(timestamp + amount); } export { addMilliseconds as default }; //# sourceMappingURL=index.js.map