Skip to content

Office Hours Time Interval

A single open interval. For schedules, start_minute and end_minute are minute offsets from the start of the week (Monday 00:00 = 0), in the range 0 to 10080. For exceptions, they are minute offsets from midnight on exception_date, in the range 0 to 1440.

start_minuteinteger

Minute the interval starts. For schedules, offset from the start of the week (Monday 00:00 = 0); for exceptions, offset from midnight on exception_date.

Example:540
end_minuteinteger

Minute the interval ends. For schedules, offset from the start of the week (Monday 00:00 = 0); for exceptions, offset from midnight on exception_date.

Example:1020
day_of_weekintegerread-only

Derived day of the week the interval falls on (0 = Monday … 6 = Sunday). For exceptions, this is derived from exception_date.

Example:0
{ "start_minute": 540, "end_minute": 1020, "day_of_week": 0 }