PyShift Work Schedule
Work Schedule for Python
Loading...
Searching...
No Matches
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

 __init__ (self, str name, str description, time start, timedelta duration)
 Construct a period of time for a break.
 
bool 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__()

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: