Crates.io | business-days |
lib.rs | business-days |
version | 0.2.1 |
created_at | 2025-03-23 15:52:48.97142+00 |
updated_at | 2025-07-04 16:15:01.418985+00 |
description | Adds helper functions to easily work with business dates and holidays |
homepage | |
repository | https://github.com/StephanvanSchaik/business-days |
max_upload_size | |
id | 1602777 |
size | 22,489 |
business-days adds helper functions to easily work with business days and holidays. This crate currently focuses on adding such functionality to jiff, but it should be possible to extend this crate to support other date/time libraries in Rust.
Currently business-days provides an implementation of the US holidays through the UsCalendar
type. Alternative calendars can be implemented by implementing the Calendar
trait.