Methods to check if a given date is a business days and to perform computations based on Business days.
Add to your Gemfile:
gem 'business-days'
To add 2 business days to current time:
BusinessDays::business_days_from_utc_time(2, Time.now.utc)
- Hard coded to work with Brazilian times.
- Can only add business days to a given date, not subtract.
To generate a new build:
gem build business-days.gemspec
To publish a new version:
gem push business-days-$VERSION.gem
This project is released under the MIT License.