object PositiveSeconds extends RefinedDurationCompanion[PositiveSeconds] with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PositiveSeconds
- Serializable
- RefinedDurationCompanion
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def between(from: CantonTimestampSecond, to: CantonTimestampSecond): Either[String, PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- def between(from: CantonTimestamp, to: CantonTimestamp): Either[String, PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def create(duration: Duration): Either[String, PositiveSeconds]
- Definition Classes
- PositiveSeconds → RefinedDurationCompanion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromBytes(field: String)(bytes: Array[Byte]): ParsingResult[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- def fromProtoPrimitive(field: String)(durationP: Duration): ParsingResult[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- def fromProtoPrimitiveO(field: String)(durationPO: Option[Duration]): ParsingResult[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit val getResultPositiveSeconds: GetResult[PositiveSeconds]
- implicit val getResultRefinedDuration: GetResult[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit val getResultRefinedDurationOption: GetResult[Option[PositiveSeconds]]
- Definition Classes
- RefinedDurationCompanion
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit val orderingRefinedDuration: Ordering[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit val refinedDurationEncoder: Encoder[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit def setParameterPositiveSeconds(implicit setParameterLong: SetParameter[Long]): SetParameter[PositiveSeconds]
- implicit def setParameterRefinedDuration(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[PositiveSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit def setParameterRefinedDurationOption(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[PositiveSeconds]]
- Definition Classes
- RefinedDurationCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit val toPositiveSecondsConfig: Transformer[PositiveSeconds, PositiveDurationSeconds]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCreate(duration: Duration): PositiveSeconds
Factory method for creating the RefinedDuration from a java.time.Duration
Factory method for creating the RefinedDuration from a java.time.Duration
- Definition Classes
- RefinedDurationCompanion
- Exceptions thrown
java.lang.IllegalArgumentException
if the duration does not satisfy the refinement predicate
- def tryOfDays(days: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfHours(hours: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMicros(micros: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMillis(millis: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMinutes(minutes: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfSeconds(secs: Long): PositiveSeconds
- Definition Classes
- RefinedDurationCompanion
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])