zio.Clock
See theClock companion trait
object Clock extends Serializable
Attributes
- Companion
- trait
- Source
- Clock.scala
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
- Self type
-
Clock.type
Members list
Type members
Classlikes
An implementation of the Clock service backed by a java.time.Clock.
An implementation of the Clock service backed by a java.time.Clock.
Attributes
- Source
- Clock.scala
- Supertypes
Attributes
- Source
- Clock.scala
- Supertypes
- Self type
-
ClockLive.type
Value members
Concrete methods
Get the current time, represented in the current timezone.
Returns the current time, relative to the Unix epoch.
Attributes
- Source
- Clock.scala
Attributes
- Source
- Clock.scala
Constructs a java.time.Clock backed by the Clock service.
Attributes
- Source
- Clock.scala
Returns the system nano time, which is not relative to any date.
Returns the scheduler used for scheduling effects.
Inherited methods
Attributes
- Inherited from:
- ClockSyntaxPlatformSpecific (hidden)
- Source
- ClockSyntaxPlatformSpecific.scala
Implicits
Implicits
Attributes
- Source
- Clock.scala
In this article