* @summary Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.
6
*
7
* @description
8
* Add the specified years, months, weeks, days, hours, minutes and seconds to the given date.
9
*
10
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
11
*
12
* @param date - The date to be changed
13
* @param duration - The object with years, months, weeks, days, hours, minutes and seconds to be added.