|
PyShift Work Schedule
Work Schedule for Python
|
Class DayOff represents a scheduled non-working period. More...
Public Member Functions | |
| __init__ (self, str name, str description, time start, timedelta duration) | |
| Construct a period of time when not working. | |
| bool | isWorkingPeriod (self) |
| A day off is not a working period. | |
Class DayOff represents a scheduled non-working period.
| day_off.DayOff.__init__ | ( | self, | |
| str | name, | ||
| str | description, | ||
| time | 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 |