EpochTime

coulomb.units.time$.EpochTime$
object EpochTime

Attributes

Source:
time.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

abstract class Applier[U]

a shim class for the EpochTime companion apply method

a shim class for the EpochTime companion apply method

Attributes

Companion:
object
Source:
time.scala
Graph
Supertypes
class Object
trait Matchable
class Any
object Applier

Attributes

Companion:
class
Source:
time.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Applier.type

Value members

Concrete methods

def apply[U](using a: Applier[U]): Applier[U]

Creates an epoch time using a given unit type

Creates an epoch time using a given unit type

Attributes

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