conversions
Conversion typeclasses between coulomb
types and java.time
types
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
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
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
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
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
defines implicit scala.Conversion
typeclasses
defines implicit scala.Conversion
typeclasses
- Example:
// import implicit conversion typeclasses into scope import coulomb.units.javatime.conversions.scala.given