Function roll
pub(crate) fn roll(
date: NaiveDate,
roll_convention: Named<RollConvention>,
) -> PyResult<NaiveDate>Expand description
Snaps date to the day of the month a roll convention names, staying inside
date’s own month. A day-of-month roll clamps: 31 in February lands on the
28th or 29th.