Feature: Rotate every few days or monthly, with free elements 

Description 

A working-time rotation has a cadence: weekly (every element lasts seven days and switches on the weekday of the anchor date, so a night team can switch on Sundays), everyNDays (every element lasts stepDays days) or monthly (every element lasts until the next switchDayOfMonth, 1 to 31 or last; a month without that day switches on its last day). An element may be free, without a model; its days have no planned shift. The element of a date is counted in whole steps from the anchor date, so a rotation that started in the past is right without any job, and December needs no special case. rotationWeekOffset now counts elements, and a rotation's working days per week count a free element as none.

Impact 

The pattern of createWorkingTimeRotation and updateWorkingTimeRotation is now elements instead of weeks, and the anchor date of a weekly rotation no longer has to be a Monday. Existing rotations are weekly. New columns working_time_rotation.cadence, step_days and switch_day_of_month.