Feature: Import the calendar of Horilla 

Description 

Three stages rebuild the working-day calendar of the imported companies:

  • statutory-holidays seeds the statutory holidays of each company's federal state from the start of the history.
  • holidays takes Horilla's own holidays, one per day of their span: a one-time holiday becomes a dated entry, a recurring one a yearly rule from its first year, open-ended unless its end date lies in a later year. Copies Horilla made of a recurring holiday are folded into its rule (foldedIntoRule), a holiday on a statutory holiday of the state is left out (duplicateOfStatutoryHoliday), and a rule on 29 February is reported for HR to confirm (leapDayRule).
  • weekly-off turns each weekly off day of a company into a weekly rule for all years, limited to the n-th week of the month where Horilla restricts it.

Impact 

Only with MIGRATION_ENABLED=1.