Function add_period
pub(crate) fn add_period(date: NaiveDate, tenor: Tenor) -> PyResult<NaiveDate>Expand description
Adds a tenor to a date by calendar arithmetic — no calendar, no adjustment. Month and year steps clamp into short months (31 Jan + 1M = 28 Feb).