Time Period¶
TimePeriod¶
-
class
TimePeriod
(id_unique, name, alias, sunday, monday, tuesday, wednesday, thursday, friday, saturday)¶ This class represents a time period
- Parameters
id_unique (int) – ID of the time period
name (str) – Name of the time period
alias (str) – Alias of the time period
sunday (str) – Period on sunday
monday (str) – Period on monday
tuesday (str) – Period on tuesday
wednesday (str) – Period on wednesday
thursday (str) – Period on thursday
friday (str) – Period on friday
saturday (str) – Period on saturday
TimePeriodParam¶
-
class
TimePeriodParam
¶ This class represents a parameter for a time period
-
ALIAS
= 'alias'¶ Alias of the time period (str)
-
EXCLUDE
= 'exclude'¶ This parameter is used to exclude other time periods (str, list of str)
-
FRIDAY
= 'friday'¶ Time period definition for friday (str)
-
INCLUDE
= 'include'¶ This parameter is used to include other time periods (str, list of str)
-
MONDAY
= 'monday'¶ Time period definition for monday (str)
-
NAME
= 'name'¶ Name of the time period (str)
-
SATURDAY
= 'saturday'¶ Time period definition for saturday (str)
-
SUNDAY
= 'sunday'¶ Time period definition for sunday (str)
-
THURSDAY
= 'thursday'¶ Time period definition for thursday (str)
-
TUESDAY
= 'tuesday'¶ Time period definition for tuesday (str)
-
WEDNESDAY
= 'wednesday'¶ Time period definition for wednesday (str)
-