org.scalatest.time

Units

sealed abstract class Units extends AnyRef

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)

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Units
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Units()