Time
Represents POSIX time in milliseconds (time since 1970/01/01 00:00:00 UTC).
Associated functions
new
Time::new(millis_since_1970: Int) -> Time
from_data
Time::from_data(data: Data) -> Time
Operators
==
Time == Time -> Bool
!=
Time != Time -> Bool
>=
Time >= Time -> Bool
>
Time > Time -> Bool
<=
Time <= Time -> Bool
<
Time < Time -> Bool
+
Time + Duration -> Time
-
Subtracting a Duration from a Time is like adding a negative Duration.
Time - Duration -> Time
The difference of two Time instances is a Duration.
Time - Time -> Duration
Methods
serialize
time.serialize() -> ByteArray
show
Decimal representation of the underlying raw Int.
time.show() -> String