Registry / utility / business-time

business-time

JSON →
library0.13.0rbrubygemsunverified

Have you ever wanted to do things like "6.business_days.from_now" and have weekends and holidays taken into account? Now you can.

gem install business_time
INSTALL
IMPORT
SIG · BUSINESS-TIME
B
business-time
utilityrubyv0.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BusinessTime
require 'business_time'

Calculate a date 6 business days from now

require 'business_time' puts 6.business_days.from_now
Debug
Known issues
gotchaHoliday definitions must be configured manually
fix
Use BusinessTime::Config.holidays = [Date.new(2024, 12, 25)]
affects: >= 0.1.0
Upgrade
Version history
0.13.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
business-time — gem install business-time · libregistry