Skip to content

timeboard 0.2

Compare
Choose a tag to compare
@mmamaev mmamaev released this 02 Mar 08:25
· 32 commits to master since this release

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.