Skip to main content

business_days_between

Function business_days_between 

Source
pub fn business_days_between(a: i64, b: i64) -> i64
Expand description

The count of business days (Mon–Fri) in the half-open interval between two day numbers. Signed by direction (b < a yields a negative count); [a, b) so adjacent days differ by 1.