object Time extends Dimension[Time] with BaseDimension with Serializable
- Source
- Time.scala
- Alphabetic
- By Inheritance
- Time
- Serializable
- BaseDimension
- Dimension
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val HoursPerDay: Double
- val MicrosecondsPerSecond: Double
- val MillisecondsPerDay: Double
- val MillisecondsPerHour: Double
- val MillisecondsPerMicrosecond: Double
- val MillisecondsPerMinute: Double
- val MillisecondsPerNanosecond: Double
- val MillisecondsPerSecond: Double
- val MinutesPerHour: Double
- val NanosecondsPerSecond: Double
- val SecondsPerDay: Double
- val SecondsPerHour: Double
- val SecondsPerMinute: Double
- def apply(duration: Duration): Time
- def apply(value: Any): Try[Time]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val dimensionImplicit: Dimension[Time]
- Definition Classes
- Dimension
- def dimensionSymbol: String
SI Dimension Symbol
SI Dimension Symbol
- Definition Classes
- Time → BaseDimension
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Dimension → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Dimension → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: String
The name
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse(value: Any): Try[Time]
Tries to map a string or tuple value to Quantity of this Dimension
Tries to map a string or tuple value to Quantity of this Dimension
- value
the source string (ie, "10 kW") or tuple (ie, (10, "kW"))
- returns
Try[A]
- Attributes
- protected
- Definition Classes
- Dimension
- def parseString(s: String): Try[Time]
- Definition Classes
- Dimension
- def parseTuple[N](t: (N, String))(implicit num: Numeric[N]): Try[Time]
- Definition Classes
- Dimension
- def primaryUnit: Milliseconds
The unit with a conversions factor of 1.
- def siUnit: Seconds
SI Base Unit for this Quantity
SI Base Unit for this Quantity
- Definition Classes
- Time → BaseDimension → Dimension
- def symbolToUnit(symbol: String): Option[UnitOfMeasure[Time]]
Maps a string representation of a unit symbol into the matching UnitOfMeasure object
Maps a string representation of a unit symbol into the matching UnitOfMeasure object
- symbol
String
- Definition Classes
- Dimension
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def units: Set[UnitOfMeasure[Time]]
Set of available units
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()