case classDuration(microseconds: Long) extends Ordered[Duration] with Product with Serializable
Provides a simple container for time durations measured in microseconds. Possible operations include
summing durations together and calculating averages.
This is a bit like the class of the same name in Joda Time, except that the resolution is microseconds
in this case.
microseconds
a number representing a time duration; negative numbers are unusual but not prohibited.
Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[Duration], Comparable[Duration], AnyRef, Any
Provides a simple container for time durations measured in microseconds. Possible operations include summing durations together and calculating averages.
This is a bit like the class of the same name in Joda Time, except that the resolution is microseconds in this case.
a number representing a time duration; negative numbers are unusual but not prohibited.