minus

infix operator fun KalugaDate.minus(other: KalugaDate): Duration

Gets the Duration between two KalugaDate

Return

the Duration between both dates.

Parameters

other

the KalugaDate to subtract


infix operator fun KalugaDate.minus(duration: Duration): KalugaDate

Gets a KalugaDate that is duration before this date.

Return

A KalugaDate that is duration before this date

Parameters

duration

the Duration to subtract from this date.