Several working regulations have requirements for hours worked between certain times of day. For example, an employee might have a limit of 40 hours per week maximum, but at the same time have an additional limit of 30 hours of work between 00:00 and 06:00 in every 14 days.
Provide a way to specify the time interval for period and rolling window rules.
Example rule:
  • rolling window: (WEEK, size 2)
  • includeTimeOverlap: (start: 00:00, end: 06:00)
  • minutesWorkedMax: 30 * 60