Examples

This section includes examples of shifts that violate or pass the Maximum Hours Per Calendar Month schedule compliance rule.

Example configuration

The examples in this section use these configuration settings:

Max Hours Allowed: 120

All the examples in this section use September as the month being validated. September has 30 days.

Example 1 - Pass

Employee A is scheduled to work 100 hours between September 1 and September 30.

Schedule compliance does not return a violation because the employee is scheduled to less than 120 hours.

Example 2 - Violation

Employee B is scheduled to work 121 hours between September 1 and September 30.

Schedule compliance returns a violation because the employee is scheduled to more than 120 hours.

Example 3 - Pass (overlap from previous month excluded)

Employee C is scheduled to work 118 hours on shifts with work dates between September 1 and September 30. On August 31, employee C is assigned to a shift from 11:00 PM to 3:00 AM. The 3 hours after midnight are counted towards the August total.

Schedule compliance does not return a violation because the employee is scheduled to less than 120 hours.

Example 4 - Violation (overlap into next month included)

Employee D is scheduled to work 118 hours on shifts with work dates between September 1 and September 29. On September 30, employee D is assigned to a shift from 11:00 PM to 3:00 AM. Both the 1 hour before midnight and the 3 hours after midnight are counted towards the September total, which is now 122 hours.

Schedule compliance returns a violation because the employee is scheduled to more than 120 hours.