t

com.digitalasset.canton.time

RefinedDurationCompanion

trait RefinedDurationCompanion[RD <: RefinedDuration] extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefinedDurationCompanion
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def create(duration: Duration): Either[String, RD]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def between(from: CantonTimestampSecond, to: CantonTimestampSecond): Either[String, RD]
  6. def between(from: CantonTimestamp, to: CantonTimestamp): Either[String, RD]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def fromBytes(field: String)(bytes: Array[Byte]): ParsingResult[RD]
  11. def fromProtoPrimitive(field: String)(durationP: Duration): ParsingResult[RD]
  12. def fromProtoPrimitiveO(field: String)(durationPO: Option[Duration]): ParsingResult[RD]
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. implicit val getResultRefinedDuration: GetResult[RD]
  15. implicit val getResultRefinedDurationOption: GetResult[Option[RD]]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. implicit val orderingRefinedDuration: Ordering[RD]
  22. implicit val refinedDurationEncoder: Encoder[RD]
  23. implicit def setParameterRefinedDuration(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[RD]
  24. implicit def setParameterRefinedDurationOption(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[RD]]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def tryCreate(duration: Duration): RD

    Factory method for creating the RefinedDuration from a java.time.Duration

    Factory method for creating the RefinedDuration from a java.time.Duration

    Exceptions thrown

    java.lang.IllegalArgumentException if the duration does not satisfy the refinement predicate

  28. def tryOfDays(days: Long): RD
  29. def tryOfHours(hours: Long): RD
  30. def tryOfMicros(micros: Long): RD
  31. def tryOfMillis(millis: Long): RD
  32. def tryOfMinutes(minutes: Long): RD
  33. def tryOfSeconds(secs: Long): RD
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped