seatgeek / businesstime

A simple python utility for calculating business time aware timedeltas between two datetimes
BSD 2-Clause "Simplified" License
85 stars 36 forks source link

Child class to deal with varying business hours #35

Open dreaquil opened 4 years ago

dreaquil commented 4 years ago

I have created a child class that will inherit from the business time class such that you can now pass in a list of 7 tuples indicating the business hours from Monday to Sunday. Tests have been adjusted to reflect these changes.