zio.Clock
See theClock companion trait
object Clock extends Serializable
Attributes
Members list
Type members
Classlikes
Value members
Concrete methods
Get the current time, represented in the current timezone.
Get the current time, represented in the current timezone.
Attributes
Returns the current time, relative to the Unix epoch.
Returns the current time, relative to the Unix epoch.
Attributes
Constructs a java.time.Clock backed by the Clock service.
Constructs a java.time.Clock backed by the Clock service.
Attributes
Returns the system nano time, which is not relative to any date.
Returns the system nano time, which is not relative to any date.
Attributes
Returns the scheduler used for scheduling effects.
Returns the scheduler used for scheduling effects.
Attributes
Inherited methods
Attributes
- Inherited from:
- ClockSyntaxPlatformSpecific (hidden)
In this article