type alias MdTimeBlock

A run of hours on one weekday in <timeBlockList>.

Properties

enable: number

1 when detection is on for these hours, 0 when off.

weekDay:
"Monday"
| "Tuesday"
| "Wednesday"
| "Thursday"
| "Friday"
| "Saturday"
| "Sunday"

The weekday.

beginHour: number

First hour, 0 to 23.

endHour: number

Last hour, inclusive, 0 to 23 and not before beginHour.

Usage

import { type MdTimeBlock } from "protocol/params/mod.ts";