conversions
Conversion typeclasses between coulomb
types and java.time
types
- Source:
- time.scala
Type members
Classlikes
A typeclass for converting a Duration
to an equivalent Quantity
A typeclass for converting a Duration
to an equivalent Quantity
- Type parameters:
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
A typeclass for converting a Quantity
to an equivalent Duration
A typeclass for converting a Quantity
to an equivalent Duration
- Type parameters:
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
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
- Type parameters:
- U
the quantity unit type
- V
the quantity value type
- Source:
- time.scala
exports both explicit and implicit conversion typeclasses
exports both explicit and implicit conversion typeclasses
- Example:
// import both explicit and implicit conversion typeclasses into scope import coulomb.units.javatime.conversions.all.given
- Source:
- time.scala
defines typeclasses for explicit conversions
defines typeclasses for explicit conversions
- Example:
// import typeclasses for explicit conversions into scope import coulomb.units.javatime.conversions.explicit.given
- Source:
- time.scala
defines implicit scala.Conversion
typeclasses
defines implicit scala.Conversion
typeclasses
- Example:
// import implicit conversion typeclasses into scope import coulomb.units.javatime.conversions.scala.given
- Source:
- time.scala