time_window
A time_window
represents an interval of time in a 24-hour period.
Name | Type | Description |
---|---|---|
end | timespan | A timespan representing the end of the time window (since midnight). |
start | timespan | A timespan representing the start of the time window (since midnight). |
Examples
{
"morning business hours": { "start": "08:30", "end": "12:00" },
"afternoon business hours": { "start": "13:00", "end": "17:00" },
"4 hours across midnight": { "start": "22:00", "end": "26:00" },
"an instant time window": { "start": "03:00", "end": "03:00 }"
}
For information on routing with time windows, see routing_with_time_windows.
See Also
- Routing with Time Windows.
- The job.time_window field.
- The job.time_window2 field.