(tz: string, fn: (date: TZDate) => void)
| 2360 | }); |
| 2361 | |
| 2362 | function withDSTStart(tz: string, fn: (date: TZDate) => void) { |
| 2363 | fn(new TZDate(2020, 2, 8, tz)); |
| 2364 | } |
| 2365 | |
| 2366 | function utcStr(date: TZDate) { |
| 2367 | return new Date(+date).toISOString(); |