[−][src]Function chronoutil::delta::shift_years
pub fn shift_years<D: Datelike>(date: D, years: i32) -> D
Shift a date by the given number of years. Ambiguous month-ends are shifted backwards as necessary.
pub fn shift_years<D: Datelike>(date: D, years: i32) -> D
Shift a date by the given number of years. Ambiguous month-ends are shifted backwards as necessary.