TimeUnit

enum TimeUnit : Enum<TimeUnit>

Represents a unit of time

Entries

MILLISECONDS
Link copied to clipboard
common
SECONDS
Link copied to clipboard
common
SECONDS(1000)
MINUTES
Link copied to clipboard
common
MINUTES(60000)

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: TimeUnit): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
toMillis
Link copied to clipboard
common
fun toMillis(duration: Long): Long
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

multiplier
Link copied to clipboard
common
val multiplier: Long
name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int

Sources

(source)
Link copied to clipboard