get_daily_worktime
- WorktimeCalculator.get_daily_worktime(frequenzy: str, worktime: Union[int, float], weekmask: str) float [source]
Calculate the mean daily work time based on the contract details.
- Parameters
frequenzy (str) – Timeperiod in which the the user is supposed to to work worktime*1h Supported values are: monthly, weekly
worktime (int, float) – Time in hours that the user is supposed to work in frequenzy
weekmask (str) – Listing of the abbreviated weekdays the user is supposed to work i.e.: “Mon Tue Wed Thu Fri Sat”
- Returns
daily_worktime
- Return type
float