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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Day.type
object Days.type
object Hour.type
object Hours.type
object Microsecond.type
object Microseconds.type
object Millis.type
object Millisecond.type
object Milliseconds.type
object Minute.type
object Minutes.type
object Nanosecond.type
object Nanoseconds.type
object Second.type
object Seconds.type
Show all

Members list

Value members

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product