PyShift Work Schedule
Work Schedule for Python
Public Member Functions | List of all members
work_break.Break Class Reference

Class Break is a defined working period of time during a shift, for example lunch. More...

Inheritance diagram for work_break.Break:

Public Member Functions

def __init__ (self, str name, str description, time start, timedelta duration)
 Construct a period of time for a break. More...
 
def isWorkingPeriod (self)
 a break is a working period
 

Detailed Description

Class Break is a defined working period of time during a shift, for example lunch.

Constructor & Destructor Documentation

◆ __init__()

def work_break.Break.__init__ (   self,
str  name,
str  description,
time  start,
timedelta  duration 
)

Construct a period of time for a break.

Parameters
nameName of break
descriptionDescription of break
startStarting time of day
durationDuration of break

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