Function chronoutil::delta::shift_months[][src]

pub fn shift_months<D: Datelike>(date: D, months: i32) -> D

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