EpochTime

object EpochTime
Source:
time.scala
class Object
trait Matchable
class Any

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

Companion:
object
Source:
time.scala
object Applier
Companion:
class
Source:
time.scala

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

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