EU law requires at least 11 hours of rest between shifts. How can I ensure compliance?

Prepare a CSV file, which should contain the shift name, shift start time, and shift duration minutes as in the following example.
At the end of the enumeration, also describe the off shift.

Matin,6:30,480
Journée,8:00,510
Après-midi,13:30,480
Nuit,20:45,600
Off,0:00,0

You can get the forbidden shift sequence by reading the CSV file using the following project file

Specify the CSV file.



Specify a rest time of 11 hours.



The forbidden shift sequence will appear on the right screen of the solving pane.



Après-midi → Matin are forbidden shift sequence 9:00:00
Après-midi → Journée are forbidden shift sequence 10:30:00
Nuit → Matin are forbidden shift sequence -1 day, 23:45:00
Nuit → Journée are forbidden shift sequence 1:15:00
Nuit → Après-midi are forbidden shift sequence 6:45:00