Clock

zio.Clock
See theClock companion object
trait Clock extends Serializable

Attributes

Companion
object
Source
Clock.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
trait TestClock
class Test
class ClockJava
object ClockLive
Self type

Members list

Type members

Classlikes

trait UnsafeAPI extends Serializable

Attributes

Source
Clock.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]

Attributes

Source
Clock.scala
def currentTime(unit: => TimeUnit)(implicit trace: Trace): UIO[Long]

Attributes

Source
Clock.scala
def currentTime(unit: => ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]

Attributes

Source
Clock.scala
def instant(implicit trace: Trace): UIO[Instant]

Attributes

Source
Clock.scala
def javaClock(implicit trace: Trace): UIO[Clock]

Attributes

Source
Clock.scala
def localDateTime(implicit trace: Trace): UIO[LocalDateTime]

Attributes

Source
Clock.scala
def nanoTime(implicit trace: Trace): UIO[Long]

Attributes

Source
Clock.scala
def scheduler(implicit trace: Trace): UIO[Scheduler]

Attributes

Source
Clock.scala
def sleep(duration: => Duration)(implicit trace: Trace): UIO[Unit]

Attributes

Source
Clock.scala

Concrete methods

Attributes

Source
Clock.scala