General information only. This explains a scheduling term. It is not legal advice: the rules that bind you come from the law, your agreements and your contracts.

Understanding rolling windows

Some limits look back over weeks, such as average hours or Sundays worked. A rolling window checks each run of weeks as it moves along the roster.

Rolling window vs period

  • A period rule counts in fixed blocks and starts again in each.
  • A rolling window counts every run of weeks, so heavy weeks cannot hide across a boundary.
  • Both can apply to the same worker.

Typical rolling limits

  • The most hours a week, on average, over a set number of weeks.
  • A day of weekly rest in every week.
  • The most Sundays worked in any run of weeks.

Common mistakes

How Chrona does it

Auto Schedule, a constraint solver built on Timefold, checks every window of weeks, one week after another, and keeps the Must rules. It also counts the shifts worked before the roster period.

Weekly rest, Average hours and Sundays worked in a rolling window use a window. Night shifts in a period and Weekends worked can use Rolling weeks. Set the weeks in Over (weeks), from 1 to 52.

Step by step in the docs

Key takeaways

  • A rolling window checks every run of weeks.
  • It never resets on a calendar boundary.
  • Chrona counts each window, including shifts before the period.

Questions

What is the difference between a rolling window and a period?

A period starts again at a fixed boundary. A rolling window moves on one week at a time.

How long can a window be?

In Chrona, from 1 to 52 weeks, set in Over (weeks).

Does the window look before the roster?

Yes. In Chrona, a run counts the shifts worked before the period, as far back as the rule needs.

Which rules use a rolling window?

In Chrona, Weekly rest, Average hours and Sundays worked in a rolling window, and two rules that can count Rolling weeks.

The word comes from Timefold, the planning engine Auto Schedule is built on. See the source