CoreEpochTime

class CoreEpochTime(val timeSinceEpochInMs: Long) : Comparable<CoreEpochTime>

A fixed moment in time with a specified baseline and precision.

Constructors

Link copied to clipboard
constructor(timeSinceEpochInMs: Long)

Properties

Link copied to clipboard

Number of milliseconds that have elapsed since 00:00:00, 1 January 1970 UTC

Functions

Link copied to clipboard
open operator override fun compareTo(other: CoreEpochTime): Int

Compare two EpochTime objects

Link copied to clipboard
operator fun minus(et: CoreEpochTime): CoreEpochTime

Subtracts two EpochTime objects

operator fun minus(timeStampMs: Long): CoreEpochTime

Subtracts an EpochTime object with a timeStamp in Ms

Link copied to clipboard
operator fun plus(et: CoreEpochTime): CoreEpochTime

Adds two EpochTime objects

operator fun plus(timeStampMs: Long): CoreEpochTime

Adds an EpochTime objects with a timeStamp in Ms