arrow-fx / arrow.fx.typeclasses / Duration

Duration

data class Duration

Constructors

<init> Duration(amount: Long, timeUnit: TimeUnit)

Properties

amount val amount: Long
nanoseconds val nanoseconds: Long
timeUnit val timeUnit: TimeUnit

Functions

plus operator fun plus(d: Duration): Duration
times operator fun times(i: Int): Duration

Companion Object Properties

INFINITE val INFINITE: Duration

Do you like Arrow?

Arrow Org
<