Object/Trait

zio

Clock

Related Docs: trait Clock | package zio

Permalink

object Clock extends ClockPlatformSpecific with Serializable

Linear Supertypes
Serializable, Serializable, ClockPlatformSpecific, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Clock
  2. Serializable
  3. Serializable
  4. ClockPlatformSpecific
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ClockLive extends Clock

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def currentDateTime(implicit trace: Trace): UIO[OffsetDateTime]

    Permalink

    Get the current time, represented in the current timezone.

  8. def currentTime(unit: ⇒ ChronoUnit)(implicit trace: Trace, d: DummyImplicit): UIO[Long]

    Permalink
  9. def currentTime(unit: ⇒ TimeUnit)(implicit trace: Trace): UIO[Long]

    Permalink

    Returns the current time, relative to the Unix epoch.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def instant(implicit trace: Trace): UIO[Instant]

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def javaClock(implicit trace: Trace): UIO[java.time.Clock]

    Permalink

    Constructs a java.time.Clock backed by the Clock service.

  18. def localDateTime(implicit trace: Trace): UIO[LocalDateTime]

    Permalink
  19. def nanoTime(implicit trace: Trace): UIO[Long]

    Permalink

    Returns the system nano time, which is not relative to any date.

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def scheduler(implicit trace: Trace): UIO[Scheduler]

    Permalink

    Returns the scheduler used for scheduling effects.

  24. def sleep(duration: ⇒ zio.Duration)(implicit trace: Trace): UIO[Unit]

    Permalink

    Sleeps for the specified duration.

    Sleeps for the specified duration. This is always asynchronous.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val tag: Tag[Clock]

    Permalink
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from ClockPlatformSpecific

Inherited from AnyRef

Inherited from Any

Ungrouped