[go: up one dir, main page]

Skip to content

Checks if a given date is a business day and performs computations based on Business days.

License

Notifications You must be signed in to change notification settings

cloudwalk/business-days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Checks if a given date is a business day and performs computations based on Business days.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages