Skip to main content

Interface: OffTimeCover

Defined in: scheduling/working-calendar.ts:20

The shape timeShading() reads as a TimeCover. scheduling/ may not import extensions/, so the shape is stated here and a type test in api/ proves the two match.

Properties​

hideWhenCoarserThan​

hideWhenCoarserThan: TimeUnit

Defined in: scheduling/working-calendar.ts:21

Methods​

coveredSpans()​

coveredSpans(window, time): readonly TimeSpan[]

Defined in: scheduling/working-calendar.ts:22

Parameters​

window​

TimeSpan

time​

ZonedTime

Returns​

readonly TimeSpan[]