val Int.days: Duration
Extension method for easier construction of Durations in terms of integer days: |
|
infix fun Int.exactAdd(b: Int): Int
Like the + operator but throws ArithmeticException in case of integer overflow. |
|
val Int.hours: Duration
Extension method for easier construction of Durations in terms of integer hours: |
|
val Int.millis: Duration
Extension method for easier construction of Durations in terms of integer milliseconds: |
|
val Int.minutes: Duration
Extension method for easier construction of Durations in terms of integer minutes: |
|
val Int.seconds: Duration
Extension method for easier construction of Durations in terms of integer seconds: |