zio.Clock$
See theClock companion trait
object Clock extends Serializable
Attributes
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
- Supertypes
-
trait Producttrait Equalstrait Clocktrait Serializableclass Objecttrait Matchableclass AnyShow all
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
In this article