weekday¶
- scheduler.trigger.core.weekday(value: int, time: time = datetime.time(0, 0)) Weekday[source]¶
Return
Weekdayfrom given value with optional time.- Parameters:
- valueint
Integer representation of
Weekday- timedatetime.time
Time on the clock at the specific weekday.
- Returns:
- Weekday
Weekdayobject with given time.
Notes
Enumeration analogous to datetime library (0: Monday, … 6: Sunday).