Function chronoutil::delta::shift_years

source ·
pub fn shift_years<D: Datelike>(date: D, years: i32) -> D
Expand description

Shift a date by the given number of years. Ambiguous month-ends are shifted backwards as necessary.