TimeDuration

Represents the amount of time one instant of time is away from another instant.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val days: Long

Returns the number of days in this duration.

Link copied to clipboard
val hours: Long

Returns the number of hours in this duration.

Link copied to clipboard

Returns the number of milliseconds in this duration.

Link copied to clipboard

Returns the number of minutes in this duration.

Link copied to clipboard

Returns the number of seconds in this duration.

Functions

Link copied to clipboard
open operator override fun compareTo(other: TimeDuration): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String