Constant

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

Attributes

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

Members list

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Value members

Concrete methods

override def epoch: Long

Should return epoch time in milliseconds (UTC timezone)

Should return epoch time in milliseconds (UTC timezone)

Attributes

Definition Classes
override def monotonicNano: Long

Should return a never decreasing measure of time, in nanoseconds

Should return a never decreasing measure of time, in nanoseconds

Attributes

Definition Classes
override def nowLocal(accuracy: ClockAccuracy, zone: ZoneId): LocalDateTime

Attributes

Definition Classes
override def nowOffset(accuracy: ClockAccuracy, zone: ZoneId): OffsetDateTime

Attributes

Definition Classes
override def nowZoned(accuracy: ClockAccuracy, zone: ZoneId): ZonedDateTime

Attributes

Definition Classes

Deprecated methods

override def now(accuracy: ClockAccuracy): ZonedDateTime

Should return current time (UTC timezone)

Should return current time (UTC timezone)

Attributes

Deprecated
use nowZoned
Definition Classes

Inherited methods

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

Attributes

Inherited from:
Clock1