Packages

c

zio.Clock

ClockJava

final case class ClockJava(clock: java.time.Clock) extends Clock with Product with Serializable

An implementation of the Clock service backed by a java.time.Clock.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClockJava
  2. Product
  3. Equals
  4. Clock
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ClockJava(clock: java.time.Clock)

Type Members

  1. trait UnsafeAPI extends Serializable
    Definition Classes
    Clock

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val clock: java.time.Clock
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]
    Definition Classes
    ClockJavaClock
  8. def currentTime(unit: => ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]
    Definition Classes
    ClockJavaClock
  9. def currentTime(unit: => TimeUnit)(implicit trace: Trace): UIO[Long]
    Definition Classes
    ClockJavaClock
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def instant(implicit trace: Trace): UIO[Instant]
    Definition Classes
    ClockJavaClock
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def javaClock(implicit trace: Trace): UIO[java.time.Clock]
    Definition Classes
    ClockJavaClock
  15. def localDateTime(implicit trace: Trace): UIO[LocalDateTime]
    Definition Classes
    ClockJavaClock
  16. def nanoTime(implicit trace: Trace): UIO[Long]
    Definition Classes
    ClockJavaClock
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def scheduler(implicit trace: Trace): UIO[Scheduler]
    Definition Classes
    ClockJavaClock
  22. def sleep(duration: => zio.Duration)(implicit trace: Trace): UIO[Unit]
    Definition Classes
    ClockJavaClock
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. val unsafe: UnsafeAPI
    Definition Classes
    ClockJavaClock
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Product

Inherited from Equals

Inherited from Clock

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped