Units

sealed abstract class Units extends Product with 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)
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
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

Value members

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
def productArity: Int
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
def productElementName(n: Int): String
Inherited from:
Product
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def productPrefix: String
Inherited from:
Product