Interval.addMonths(i)

Adds months to this interval. The resultant quantity of months is reexpressed into years/months. For example the interval: "29d50m" plus "65M", results: "5Y5M29d50m".

Arguments:

Name Type Description Mode
i Int Months to add (can be negative) in