object NonNegativeSeconds extends RefinedDurationCompanion[NonNegativeSeconds] with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NonNegativeSeconds
- 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
- val Zero: NonNegativeSeconds
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def between(from: CantonTimestampSecond, to: CantonTimestampSecond): Either[String, NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- def between(from: CantonTimestamp, to: CantonTimestamp): Either[String, NonNegativeSeconds]
- 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, NonNegativeSeconds]
- Definition Classes
- NonNegativeSeconds → 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[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- def fromProtoPrimitive(field: String)(durationP: Duration): ParsingResult[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- def fromProtoPrimitiveO(field: String)(durationPO: Option[Duration]): ParsingResult[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit val getResultRefinedDuration: GetResult[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit val getResultRefinedDurationOption: GetResult[Option[NonNegativeSeconds]]
- 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[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit val refinedDurationEncoder: Encoder[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit def setParameterRefinedDuration(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[NonNegativeSeconds]
- Definition Classes
- RefinedDurationCompanion
- implicit def setParameterRefinedDurationOption(implicit setParameterByteArrayO: SetParameter[Option[Array[Byte]]]): SetParameter[Option[NonNegativeSeconds]]
- Definition Classes
- RefinedDurationCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCreate(duration: Duration): NonNegativeSeconds
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): NonNegativeSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfHours(hours: Long): NonNegativeSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMicros(micros: Long): NonNegativeSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMillis(millis: Long): NonNegativeSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfMinutes(minutes: Long): NonNegativeSeconds
- Definition Classes
- RefinedDurationCompanion
- def tryOfSeconds(secs: Long): NonNegativeSeconds
- 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])