(timestamp, months)
| 802 | } |
| 803 | |
| 804 | function addMonths(timestamp, months) { |
| 805 | let time = new Date(timestamp * 1000); |
| 806 | return time.setUTCMonth(time.getUTCMonth() + months) / 1000; |
| 807 | } |
| 808 | |
| 809 | function addYears(timestamp, years) { |
| 810 | let time = new Date(timestamp * 1000); |
no outgoing calls
no test coverage detected