(d, months)
| 14 | } |
| 15 | |
| 16 | export function addMonths (d, months) { |
| 17 | let newDate = clone(d); |
| 18 | newDate.setMonth(d.getMonth() + months); |
| 19 | return newDate; |
| 20 | } |
| 21 | |
| 22 | export function getFirstDayOfMonth (d) { |
| 23 | return new Date(d.getFullYear(), d.getMonth(), 1); |
nothing calls this directly
no test coverage detected
searching dependent graphs…