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
Type parameters
- U
-
the quantity unit type
- V
-
the quantity value type
Attributes
- Source
- time.scala
- Supertypes
Attributes
- Source
- time.scala
- Supertypes
Attributes
- Source
- time.scala
- Supertypes
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
Attributes
- Source
- time.scala
- 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
Type parameters
- U
-
the quantity unit type
- V
-
the quantity value type
Attributes
- Source
- time.scala
- Supertypes
Attributes
- Source
- time.scala
- 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
- 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
- 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
- Supertypes
- Self type
-
scala.type