package duration
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- duration
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed trait Duration extends Ordered[Duration] with Serializable with Product
Non-negative duration.
Non-negative duration. Operations that would result in negative value of nanoseconds return zero duration and ones that would result in
Long.MaxValue
overflow return infinity.Infinity
hasLong.MaxValue
nanoseconds value, but for arithmetic operations behaviour is mathematical infinity like-ish. - class DurationSyntax extends AnyRef
Value Members
- implicit final def durationInt(n: Int): DurationSyntax
- implicit final def durationLong(n: Long): DurationSyntax
- object Duration extends Serializable