dayOfWeek, dateRange,
dates, or recurringPeriods). Use from/until to block only part
of a day.
Properties
appliesTo?: string | string[]
Who this rule applies to (role name, skill name, or member ID).
dateRange?: object
Restrict to a date range.
dates?: string[]
Restrict to specific dates (YYYY-MM-DD).
dayOfWeek?: readonly [DayOfWeek, DayOfWeek]
Restrict to specific days of the week.
from?: TimeOfDay
Off from this time until end of day.
priority?: Priority
Defaults to
"MANDATORY".recurringPeriods?: [RecurringPeriod, ...RecurringPeriod[]]
Restrict to recurring calendar periods.
until?: TimeOfDay
Off from start of day until this time.