Time.Instant

Definitions

@Experimental
def after(x: Instant, y: Instant): Bool Source

Returns true if x is after y.

@Experimental
def before(x: Instant, y: Instant): Bool Source

Returns true if x is before y.

@Experimental
def minus(x: Instant, d: Int64): Instant Source

Returns the given instant x minus d number of nano seconds.

@Experimental
def now(): Instant \ IO Source

Returns the current time from the system clock.

@Experimental
def plus(x: Instant, d: Int64): Instant Source

Returns the given instant x plus d number of nano seconds.

@Experimental
def toString(x: Instant): String Source

Returns x as a string using the ISO-8601 representation.