Skip to main content

bounds

Function bounds 

Source
pub fn bounds(period: &str, anchor: Date) -> (Date, Date)
Expand description

The first and last day of period (“week”, “month”, “year”) around anchor.