(d: Date)
| 48 | const WEEKDAY_LABELS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] |
| 49 | |
| 50 | function firstOfMonth(d: Date): Date { |
| 51 | return new Date(d.getFullYear(), d.getMonth(), 1) |
| 52 | } |
| 53 | |
| 54 | function addMonths(d: Date, n: number): Date { |
| 55 | return new Date(d.getFullYear(), d.getMonth() + n, 1) |
no outgoing calls
no test coverage detected