conversions
Conversion typeclasses between coulomb
types and java.time
types
Attributes
- Source:
- time.scala
- Graph
- Supertypes
- Self type
- conversions.type
Members list
Type members
Classlikes
A typeclass for converting a Duration
to an equivalent Quantity
A typeclass for converting a Duration
to an equivalent Quantity
Attributes
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
- Graph
- Supertypes
Attributes
- Source:
- time.scala
- Graph
- Supertypes
Attributes
- Source:
- time.scala
- Graph
- Supertypes
A typeclass for converting a Quantity
to an equivalent Duration
A typeclass for converting a Quantity
to an equivalent Duration
Attributes
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
- Graph
- Supertypes
A typeclass for converting a Duration
to an equivalent Quantity
involving a truncation to some integral value type
A typeclass for converting a Duration
to an equivalent Quantity
involving a truncation to some integral value type
Attributes
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
- Graph
- Supertypes
Attributes
- Source:
- time.scala
- Graph
- Supertypes
exports both explicit and implicit conversion typeclasses
exports both explicit and implicit conversion typeclasses
Attributes
- Example:
// import both explicit and implicit conversion typeclasses into scope import coulomb.units.javatime.conversions.all.given
- Source:
- time.scala
- Graph
- Supertypes
- Self type
- all.type
defines typeclasses for explicit conversions
defines typeclasses for explicit conversions
Attributes
- Example:
// import typeclasses for explicit conversions into scope import coulomb.units.javatime.conversions.explicit.given
- Source:
- time.scala
- Graph
- Supertypes
- Self type
- explicit.type
defines implicit scala.Conversion
typeclasses
defines implicit scala.Conversion
typeclasses
Attributes
- Example:
// import implicit conversion typeclasses into scope import coulomb.units.javatime.conversions.scala.given
- Source:
- time.scala
- Graph
- Supertypes
- Self type
- scala.type