(d: Date, n: number)
| 56 | } |
| 57 | |
| 58 | function addDays(d: Date, n: number): Date { |
| 59 | return new Date(d.getFullYear(), d.getMonth(), d.getDate() + n) |
| 60 | } |
| 61 | |
| 62 | function parseIsoLocal(iso: string): Date { |
| 63 | // Manual parse so we always land in local-time midnight (avoiding |
no outgoing calls
no test coverage detected