Break logic
Breaks are supplied in this format:
StartTime,EndTime,TimeCode,HourType,Duration
where:
Field | Required | Description |
---|---|---|
StartTime | Yes | The start time of the break/window in hh24mm format. |
EndTime | Yes | The end time of the break/window in hh24mm format. |
TimeCode | Yes | The time code for the break. |
HourType | No | The hour type for the break. |
Duration | No | Duration of the break. If this field is not supplied, the system uses EndTime - StartTime minutes. |
For a series of breaks, use the tilde (~) symbol to separate the breaks in the Sch_Break_String:
StartTime,EndTime,TimeCode,HourType,Duration~
StartTime1,EndTime1,TimeCode1,HourType1,Duration1~
StartTime2,EndTime2,TimeCode2,HourType2,Duration2...
This example specifies a break taken from 10:00-10:15 and a lunch break taken from 13:00-13:45 at the REG hour type.
1000,1015,BRK,REG~1300,1345,LUN,REG
This example specifies a 1 hour lunch that can be taken between 12:00 and 13:00.
1200,1300,LUN,REG
Commas have to be supplied for the first four attributes, even if the non-required fields are not supplied. For example:
1000,1030,LUN,~1300,1315,BRK,