library / org.akop.kotx.types / MutableDateTime / addMonths

addMonths

fun addMonths(value: Int): Unit

Updates MutableDateTime instance by adding value to month component. Value may be negative.

As this method uses Calendar to do math, the date/time components will automatically be adjusted in case of an over/underflow.