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.type

Members list

Concise view

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 now(accuracy: ClockAccuracy): F[ZonedDateTime]

Should return current time (UTC timezone)

Should return current time (UTC timezone)

Attributes

def nowLocal(accuracy: ClockAccuracy): F[LocalDateTime]
def nowOffset(accuracy: ClockAccuracy): F[OffsetDateTime]

Concrete methods

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