PyShift Work Schedule
Work Schedule for Python
Loading...
Searching...
No Matches
Public Member Functions | List of all members
day_off.DayOff Class Reference

Class DayOff represents a scheduled non-working period. More...

Inheritance diagram for day_off.DayOff:

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.
 

Detailed Description

Class DayOff represents a scheduled non-working period.

Constructor & Destructor Documentation

◆ __init__()

day_off.DayOff.__init__ ( self,
str name,
str description,
time start,
timedelta duration )

Construct a period of time when not working.

Parameters
nameDay off name
descriptionDay off description
startDate and time of day when period starts
durationDuration of day off

The documentation for this class was generated from the following file: