0.0
No release in over 3 years
Low commit activity in last 3 years
Methods to check if a given date is a business days and to perform computations based on Business days.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Business Days

Methods to check if a given date is a business days and to perform computations based on Business days.

Installation

Add to your Gemfile:

gem 'business-days'

Example

To add 2 business days to current time:

BusinessDays::business_days_from_utc_time(2, Time.now.utc)

Limitations

  • Hard coded to work with Brazilian times.
  • Can only add business days to a given date, not subtract.

Development

To generate a new build:

gem build business-days.gemspec

To publish a new version:

gem push business-days-$VERSION.gem

License

This project is released under the MIT License.