timeboard 0.2
Release date: March 01, 2018
New features
-
Interval.overlap()
(also*
) - return the interval that is the intersection of two intervals. -
Interval.what_portion_of()
(also/
) - calculate what portion of the other interval this interval takes up. -
Interval.workshifts()
- return a generator that yields workshifts with the specified duty from the interval. -
Work time calculation:
Workshift.worktime()
,Interval.worktime()
.
Miscellaneous
-
Performance: building any practical timeboard should take a fraction of a second.
-
Documentation: added "Common Use Cases" section. It is also available as a jupyter notebook.