pub fn bounds(period: &str, anchor: Date) -> (Date, Date)
The first and last day of period (“week”, “month”, “year”) around anchor.
period
anchor