PyShift Work Schedule
Work Schedule for Python
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

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.
 

Detailed Description

Class DayOff represents a scheduled non-working period.

Constructor & Destructor Documentation

◆ __init__()

def day_off.DayOff.__init__ (   self,
str  name,
str  description,
datetime  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: