{"repo":"felipenoris/bdays","free":true,"listed":false,"github":"https://github.com/felipenoris/bdays","clone":"git clone https://github.com/felipenoris/bdays.git","description":"Business Days calendars for Rustaceans.","language":"Rust","stars":18,"topics":["calendar","holidays","bank-holidays","days-calculator"],"license":"MIT","category":"productivity","readme_excerpt":"bdays [![License][license-img]](LICENSE) [![CI][ci-img]][ci-url] [![docs][docs-img]][docs-url] [![version][version-img]][version-url] [license-img]: https://img.shields.io/crates/l/bdays.svg [ci-img]: https://github.com/felipenoris/bdays/workflows/CI/badge.svg [ci-url]: https://github.com/felipenoris/bdays/actions [docs-img]: https://docs.rs/bdays/badge.svg [docs-url]: https://docs.rs/bdays [version-img]: https://img.shields.io/crates/v/bdays.svg [version-url]: https://crates.io/crates/bdays Provides functions to perform business days calculation between dates, given a Holiday Calendar. A Business Day is defined as a weekday that is not a holiday. To check if a date is a holiday, you must provide an implementation of the HolidayCalendar trait. This crate is a port of BusinessDays.jl to the Rust programming language. Provided Holiday Calendars This crate provides a set of built-in holiday calendars in the bdays::calendars submodule. bdays::calendars::WeekendsOnly : accounts only weekends bdays::calendars::brazil::BRSettlement : Brazilian banking holidays bdays::calendars::brazil::BrazilExchange : B3 Exchange holidays (http://www.b3.com.br) bdays::calendars::us::USSettlement : United States federal holidays Usage Add these dependencies to your Cargo.toml file. The following example shows the basic functions from this package. HolidayCalendarCache As a motivation, this example might take some time to finish. You can use HolidayCalendarCache to perform fast business days calculat","default_branch":null,"files":null,"tree":[],"storefront":"/r/felipenoris","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/felipenoris/bdays/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}