Skip to main content

add_period

Function add_period 

pub fn add_period(date: NaiveDate, period: Period) -> NaiveDate
Expand description

Adds a Period to a date using calendar arithmetic (months/years preserve end-of-month clamping via chrono). Negative multipliers subtract.