#holidays #calendar #business #helper

business-days

Adds helper functions to easily work with business dates and holidays

4 releases

new 0.2.1 Jul 4, 2025
0.2.0 Jul 4, 2025
0.1.1 Jul 4, 2025
0.1.0 Mar 23, 2025

#461 in Date and time

Download history 103/week @ 2025-03-21 16/week @ 2025-03-28 1/week @ 2025-05-02 10/week @ 2025-05-09 8/week @ 2025-05-16

87 downloads per month

MIT/Apache

15KB
288 lines

business-days

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.

Dependencies

~4MB
~63K SLoC