library / org.akop.kotx.types / DateTime / addedHours

addedHours

fun addedHours(value: Int): DateTime

Returns an instance of DateTime resulting from adding value to hour 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.