Skip to content

Conversation

btschr
Copy link

@btschr btschr commented Nov 15, 2021

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

Add functionality to Date class to determine if a date is a business day with is_business_day. There is an optional holidays parameter that allows the user to input a list of dates that swill be treated as holidays and therefore not business days.

Not included in this Pull Request (yet), but this lays the groundwork for a future addition that also include business day concept in the Period class, e.g. looping through period with a business_days_only=True flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant