weekday#

scheduler.trigger.core.weekday(value: int, time=datetime.time(0, 0)) Weekday[source]#

Return Weekday from given value with optional time.

Parameters:
valueint

Integer representation of Weekday

timedatetime.time

Time on the clock at the specific weekday.

Returns:
Weekday

Weekday object with given time.

Notes

Enumeration analogous to datetime library (0: Monday, … 6: Sunday).