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