Companion

object Companion

Functions

Link copied to clipboard
fun days(days: Int): TimeDuration

Creates a TimeDuration from the specified number of days.

Link copied to clipboard
fun hours(hours: Int): TimeDuration

Creates a TimeDuration from the specified number of hours.

Link copied to clipboard
fun millis(millis: Long): TimeDuration

Creates a TimeDuration from the specified number of milliseconds.

Link copied to clipboard
fun minutes(minutes: Int): TimeDuration

Creates a TimeDuration from the specified number of minutes.

Link copied to clipboard
fun seconds(seconds: Int): TimeDuration

Creates a TimeDuration from the specified number of seconds.