Skip to main content

add_workdays

Function add_workdays 

Source
pub fn add_workdays(days: i32, n: i64) -> Option<i32>
Expand description

Weekdays only, in constant time even for huge offsets. The starting date is not counted. A zero offset leaves even a weekend unchanged.