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.
- A calendar effective every day from the start till the end date, ie 24 hours a day and 7 days a week.
- A calendar effective every weekday from the start till the end date, ie 24 hours a day for weekdays.
- A calendar effective every weekday between 9am and 5pm from the start till the end date, ie 8 hours a day for weekdays.
- A calendar identical to the previous one, but with some extra holidays where the calendar is not effective.