Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/proactive / / ActiveHours

Interface: ActiveHours

Defined in: packages/proactive/src/active-hours.ts:25

A daily wall-clock window in which proactive fires are allowed. from / to are 'HH:MM' (24h). A window with from > to crosses midnight: { from: '22:00', to: '07:00' } is active from 22:00 through 06:59. from === to means always active.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
fromreadonlystring-packages/proactive/src/active-hours.ts:26
timezone?readonlystringIANA timezone the window's wall clock lives in. Default 'UTC'.packages/proactive/src/active-hours.ts:29
toreadonlystring-packages/proactive/src/active-hours.ts:27