month_add_one

Function month_add_one 

Source
fn month_add_one(year: i16, month: i8, delta: Sign) -> Result<(i16, i8), Error>
Expand description

Adds or subtracts sign from the given year/month.

If month overflows in either direction, then the year returned is adjusted as appropriate.