Readium
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Readium
readium-shared
/
org.readium.r2.shared.util
/
Instant
Instant
@
Serializable
(
with
=
InstantSerializer::class
)
class
Instant
:
Parcelable
,
Comparable
<
Instant
>
A moment in time.
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Instant
)
:
Int
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
Epoch
Milliseconds
Link copied to clipboard
fun
toEpochMilliseconds
(
)
:
Long
to
Java
Date
Link copied to clipboard
fun
toJavaDate
(
)
:
Date
to
Kotlin
Instant
Link copied to clipboard
fun
toKotlinInstant
(
)
:
KotlinInstant
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Returns the ISO-8601 representation of the instant.
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)