Clock1

izumi.functional.bio.Clock1
See theClock1 companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Clock1.type

Members list

Type members

Classlikes

object ClockAccuracy

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait ClockAccuracy

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HOURS
object MICROS
object MILLIS
object MINUTES
object NANO
object RAW
object SECONDS
Show all
final class ConstantOffset(time: OffsetDateTime, nano: Long) extends Clock1[Identity]

Attributes

Supertypes
trait Clock1[Identity]
class Object
trait Matchable
class Any
final class ConstantZoned(time: ZonedDateTime, nano: Long) extends Clock1[Identity]

Attributes

Supertypes
trait Clock1[Identity]
class Object
trait Matchable
class Any
object Standard extends Clock1[Identity]

Attributes

Supertypes
trait Clock1[Identity]
class Object
trait Matchable
class Any
Self type
Standard.type

Deprecated classlikes

final class Constant(time: ZonedDateTime, nano: Long) extends Clock1[Identity]

Attributes

Deprecated
Use ConstantZoned/ConstantOffset
Supertypes
trait Clock1[Identity]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_] : Clock1]: Clock1[F]
def fromImpure[F[_] : SyncSafe1](impureClock: Clock1[Identity]): Clock1[F]

Concrete fields

final val TZ_UTC: ZoneId

Implicits

Implicits

final implicit def covarianceConversion[F[_], G[_]](clock: Clock1[F])(implicit ev: F[Unit] <:< G[Unit]): Clock1[G]
final implicit def impureClock: Clock1[Identity]
final implicit def limitedCovariance2[C <: (Clock1), F[_, _], E](implicit F: C[[_] =>> F[Nothing, _$7]] { type Divergence = Nondivergent; }): Of[C[[_] =>> F[E, _$8]]]

Emulate covariance. We're forced to employ these because we can't make Clock covariant, because covariant implicits are broken (see scalac bug)

Emulate covariance. We're forced to employ these because we can't make Clock covariant, because covariant implicits are broken (see scalac bug)

Safe because F appears only in a covariant position

Attributes

See also
final implicit def limitedCovariance3[C <: (Clock1), FR[_, _, _], R0, E](implicit F: C[[_] =>> FR[Any, Nothing, _$14]] { type Divergence = Nondivergent; }): Of[C[[_] =>> FR[R0, E, _$15]]]

Inherited implicits

final implicit def fromImpureClock[F[_]](implicit impureClock: Clock1[Identity], F: SyncSafe1[F]): Clock1[F]

Attributes

Inherited from:
LowPriorityClockInstances