toggle menu
commons
3.1.0
jvm
switch theme
search in API
core
/
eth.likespro.commons.models.value
/
Timestamp
Timestamp
@
Serializable
data
class
Timestamp
(
val
value
:
Long
)
:
Value
Members
Constructors
Timestamp
Link copied to clipboard
constructor
(
instant
:
Instant
)
constructor
(
value
:
Long
)
Types
Companion
Link copied to clipboard
object
Companion
Timestamp
Is
Invalid
Exception
Link copied to clipboard
class
TimestampIsInvalidException
(
val
message
:
String
)
:
RuntimeException
Properties
value
Link copied to clipboard
val
value
:
Long
Functions
compare
To
Link copied to clipboard
operator
fun
compareTo
(
other
:
Timestamp
)
:
Int
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Timestamp
)
:
Timestamp
operator
fun
minus
(
millis
:
Long
)
:
Timestamp
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Timestamp
)
:
Timestamp
operator
fun
plus
(
millis
:
Long
)
:
Timestamp
to
Instant
Link copied to clipboard
fun
toInstant
(
)
:
Instant