(cron: string, tz?: DateTime.TimeZone | string)
| 382 | * @category constructors |
| 383 | */ |
| 384 | export const unsafeParse = (cron: string, tz?: DateTime.TimeZone | string): Cron => |
| 385 | Either.getOrThrowWith(parse(cron, tz), identity) |
| 386 | |
| 387 | /** |
| 388 | * Checks if a given `Date` falls within an active `Cron` time window. |