Time.Instant
0.40.0
Definitions
@Experimental
Source
def
after
(
x :
Instant
y :
Instant
)
: Bool
\ Pure
Returns true
if x
is after y
.
@Experimental
Source
def
before
(
x :
Instant
y :
Instant
)
: Bool
\ Pure
Returns true
if x
is before y
.
@Experimental
Source
def
minus
(
x :
Instant
d :
Int64
)
: Instant
\ Pure
Returns the given instant x
minus d
number of nano seconds.
@Experimental
Source
def
plus
(
x :
Instant
d :
Int64
)
: Instant
\ Pure
Returns the given instant x
plus d
number of nano seconds.
@Experimental
Source
def
toString
(
x :
Instant
)
: String
\ Pure
Returns x
as a string using the ISO-8601 representation.