5.2 UC02: Scheduling actions on special dates

5.2.1 Overview

The user wants to schedule that on special dates or date periods a specific action is executed, for example switching off the heating during public holidays. The user wants to be able to define those dates individual or reference predefined dates that can be used in several schedules. In Table 2, an example is given.

Table 2 – Example Exception Schedule
DateTimeValuePriority
Day Interval Recurring Reference
Every Saturday of March 202205:00On11
(School board)
12:00Off
2022-04-03 – 2022-04-0705:00On12
(IT user)
16:30Off
2022-04-0105:00On13
(facility manager)
CAL1
Variable Holidays
00:00Off14
CAL2
Set Holidays
00:00Off15
CAL3
School Vacation
00:00Off16

The referenced calendars are defined in Table 3.

Table 3 – Example Calendars
DayIntervalRecurringNote
CAL1: Variable Holidays
2022-04-18Easter Monday
2022-05-26Ascension Day
CAL2: Set Holidays
Jan 01.New Year’s
Jan 06.Epiphany
Dec 24.Christmas Eve
Dec 25.Christmas Day
Dec 26.Christmas Day
CAL3: School Vacation
2022-02-21 – 2022-02-25
2022-07-25 – 2022-09-02
2022-12-23 – 2023-01-02

The example shows more detailed use cases, summarized in the following subsections.

5.2.2 UC002.1: Schedule actions at a specific date

As shown in Table 2 in the third entry, a special schedule on a specific date (2022-04-01) shall be applied.

5.2.3 UC002.2: Schedule actions at an interval from a specific date to a specific date

As shown in Table 2 in the second entry, a special schedule on a specific interval (2022-04-03 – 2022-04-07) shall be applied.

5.2.4 UC002.3 Schedule actions at a recurring interval

As shown in Table 2 in the first entry, a special schedule on a recurring interval (every Saturday per of March 2022) shall be applied.

5.2.5 UC002.4 Schedule actions at specific dates defined globally

As shown in Table 2 in the last three entries, a special schedule shall be applied on dates defined globally. The global definition shall support concrete dates (CAL1), recurring dates (CAL2) and concrete ranges (CAL3).