EpochTime
object EpochTime
- Source:
- time.scala
Type members
Classlikes
a shim class for the EpochTime companion apply
method
a shim class for the EpochTime companion apply
method
- Companion:
- object
- Source:
- time.scala
Value members
Concrete methods
Creates an epoch time using a given unit type
Creates an epoch time using a given unit type
- Type parameters:
- U
unit type, requiring base unit coulomb.units.si.Second
- Returns:
the new EpochTime quantity
- Example:
// the instant in time one billion minutes from Jan 1, 1970 val instant = EpochTime[Minute](1e9)
- Source:
- time.scala