time
coulomb.units.time$
object time
Members list
Concise view
Type members
Classlikes
object EpochTime
Attributes
- Source:
- time.scala
- Graph
- Supertypes
- Self type
- EpochTime.type
Types
A duration of 24 hours
Represents an instant in time measured with respect to the standard unix
epoch 00:00:00 UTC January 1, 1970
Represents an instant in time measured with respect to the standard unix
epoch 00:00:00 UTC January 1, 1970
Attributes
- U
the unit type, requiring base unit coulomb.units.si.Second
- V
the value type containing the time quantity
- Source:
- time.scala
A duration of 60 minutes or 3600 seconds
A duration of 60 seconds
A duration of 7 days
Givens
Givens
Attributes
- Source:
- time.scala
Attributes
- Source:
- time.scala
Attributes
- Source:
- time.scala
Attributes
- Source:
- time.scala
Extensions
Extensions
extension [V](v: V)
Lift a raw value to an EpochTime instant
Lift a raw value to an EpochTime instant
Attributes
- U
the unit type to use, expected to have base unit coulomb.units.si.Second
- Returns:
an EpochTime object representing desired instant
- Example:
// the instant in time one million hours from Jan 1, 1970 val instant = (1e6).withEpochTime[Hour]
- Source:
- time.scala