共用方式為


TimeInWeek interface

Time in a week.

Properties

day

The day of the week.

hourSlots

Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

Property Details

day

The day of the week.

day?: string

Property Value

string

hourSlots

Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

hourSlots?: number[]

Property Value

number[]