Package io.getstream.chat.android.models
Class TimeDuration
-
- All Implemented Interfaces:
-
kotlin.Comparable
public final class TimeDuration implements Comparable<TimeDuration>
Represents the amount of time one instant of time is away from another instant.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTimeDuration.Companion
-
Method Summary
Modifier and Type Method Description final LonggetMillis()Returns the number of milliseconds in this duration. final LonggetSeconds()Returns the number of seconds in this duration. final LonggetMinutes()Returns the number of minutes in this duration. final LonggetHours()Returns the number of hours in this duration. final LonggetDays()Returns the number of days in this duration. IntegercompareTo(TimeDuration other)Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getSeconds
final Long getSeconds()
Returns the number of seconds in this duration.
-
getMinutes
final Long getMinutes()
Returns the number of minutes in this duration.
-
compareTo
Integer compareTo(TimeDuration other)
-
-
-
-