PyShift Work Schedule
Work Schedule for Python
|
Class DayOff represents a scheduled non-working period. More...
Public Member Functions | |
def | __init__ (self, str name, str description, datetime start, timedelta duration) |
Construct a period of time when not working. More... | |
bool | isWorkingPeriod (self) |
A day off is not a working period. | |
Class DayOff represents a scheduled non-working period.
def day_off.DayOff.__init__ | ( | self, | |
str | name, | ||
str | description, | ||
datetime | start, | ||
timedelta | duration | ||
) |
Construct a period of time when not working.
name | Day off name |
description | Day off description |
start | Date and time of day when period starts |
duration | Duration of day off |