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
- Alphabetic
- By Inheritance
Inherited
- ClockJava
- Product
- Equals
- Clock
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ClockJava(clock: java.time.Clock)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clock: java.time.Clock
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]
- def currentTime(unit: => ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]
- def currentTime(unit: => TimeUnit)(implicit trace: Trace): UIO[Long]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def instant(implicit trace: Trace): UIO[Instant]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaClock(implicit trace: Trace): UIO[java.time.Clock]
- def localDateTime(implicit trace: Trace): UIO[LocalDateTime]
- def nanoTime(implicit trace: Trace): UIO[Long]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def scheduler(implicit trace: Trace): UIO[Scheduler]
- def sleep(duration: => zio.Duration)(implicit trace: Trace): UIO[Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()