object CantonTimestamp extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CantonTimestamp
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def Epoch: CantonTimestamp
  2. def MaxValue: CantonTimestamp
  3. def MinValue: CantonTimestamp
  4. def assertFromInstant(i: Instant): CantonTimestamp
  5. def assertFromLong(micros: Long): CantonTimestamp
  6. def fromInstant(i: Instant): Either[String, CantonTimestamp]
  7. def fromProtoPrimitive(ts: google.protobuf.timestamp.Timestamp): ParsingResult[CantonTimestamp]
  8. implicit val getResultOptionTimestamp: GetResult[Option[CantonTimestamp]]
  9. implicit val getResultTimestamp: GetResult[CantonTimestamp]
  10. def max(timestamp: CantonTimestamp, timestamps: CantonTimestamp*): CantonTimestamp
  11. def min(timestamp: CantonTimestamp, timestamps: CantonTimestamp*): CantonTimestamp
  12. def now(): CantonTimestamp

    Get Instant.now (try to use clock.now instead!)

    Get Instant.now (try to use clock.now instead!)

    Generally, try to use clock.now except for tests. Clock.now supports sim-clock such that we can perform static time tests.

  13. def ofEpochMicro(micros: Long): CantonTimestamp
  14. def ofEpochMilli(milli: Long): CantonTimestamp
  15. def ofEpochSecond(seconds: Long): CantonTimestamp
  16. implicit val orderCantonTimestamp: Order[CantonTimestamp]
  17. implicit val setParameterOptionTimestamp: SetParameter[Option[CantonTimestamp]]
  18. implicit val setParameterTimestamp: SetParameter[CantonTimestamp]