Clock1

izumi.functional.bio.Clock1
See theClock1 companion object
trait Clock1[F[_]] extends DivergenceHelper

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Constant
object Standard

Members list

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Value members

Abstract methods

def epoch: F[Long]

Should return epoch time in milliseconds (UTC timezone)

Should return epoch time in milliseconds (UTC timezone)

Attributes

def monotonicNano: F[Long]

Should return a never decreasing measure of time, in nanoseconds

Should return a never decreasing measure of time, in nanoseconds

Attributes

def nowLocal(accuracy: ClockAccuracy = ..., zone: ZoneId = ...): F[LocalDateTime]
def nowOffset(accuracy: ClockAccuracy = ..., zone: ZoneId = ...): F[OffsetDateTime]
def nowZoned(accuracy: ClockAccuracy = ..., zone: ZoneId = ...): F[ZonedDateTime]

Concrete methods

final def widen[G[x]]: Clock1[G]

Deprecated methods

def now(accuracy: ClockAccuracy = ...): F[ZonedDateTime]

Should return current time (UTC timezone)

Should return current time (UTC timezone)

Attributes

Deprecated
use nowZoned