Units
org.scalatest.time.Units
sealed abstract class Units extends Product, Serializable
Defines a family of singleton objects representing units of time.
The singleton objects that extend this abstract class may be passed to the constructor of Span
to specify units of time. For example:
Span(1, Second)
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Known subtypes
-
object Day.typeobject Days.typeobject Hour.typeobject Hours.typeobject Microsecond.typeobject Microseconds.typeobject Millis.typeobject Millisecond.typeobject Milliseconds.typeobject Minute.typeobject Minutes.typeobject Nanosecond.typeobject Nanoseconds.typeobject Second.typeobject Seconds.type
Members list
In this article