Main > Reference Manual > Unit tests > TestCalendar

This unit test verifies the calendar model with all different variations of bucket definitions.

The following cases are included in the model.

  1. A calendar effective every day from the start till the end date, ie 24 hours a day and 7 days a week.
  2. A calendar effective every weekday from the start till the end date, ie 24 hours a day for weekdays.
  3. A calendar effective every weekday between 9am and 5pm from the start till the end date, ie 8 hours a day for weekdays.
  4. A calendar identical to the previous one, but with some extra holidays where the calendar is not effective.