Package-level declarations

Functions

Link copied to clipboard
operator fun Duration.rem(other: Duration): Duration

Returns a duration whose value is the remainder of division of this by other duration values.

Link copied to clipboard

Returns a duration rounded the nearest hour.

Link copied to clipboard

Returns a duration rounded the nearest minute.

Link copied to clipboard

Returns a duration rounded the nearest second.

Link copied to clipboard

Extracts the number of minutes part in the duration. This returns the number of remaining minutes when dividing Duration.toMinutes by minutes in an hour. This is based on the standard definition of an hour as 60 minutes.

Link copied to clipboard

Extracts the number of seconds part in the duration. This returns the remaining seconds when dividing Duration.getSeconds by seconds in a minute. This is based on the standard definition of a minute as 60 seconds.