TAITime

csw.time.core.models.TAITime
See theTAITime companion object
final case class TAITime(value: Instant) extends TMTTime

Represents an instantaneous point in International Atomic Time (TAI).

Value parameters

value

the underlying java.time.Instant

Attributes

Companion
object
Graph
Supertypes
trait TMTTime
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toUTC: UTCTime

Converts the TAITime to UTCTime by subtracting the UTC-TAI offset. UTC-TAI offset is fetched by doing a native call to ntp_gettimex. It ensures to get the latest offset as updated by the PTP Grandmaster.

Converts the TAITime to UTCTime by subtracting the UTC-TAI offset. UTC-TAI offset is fetched by doing a native call to ntp_gettimex. It ensures to get the latest offset as updated by the PTP Grandmaster.

Attributes

Returns

UTC time at the given TAI time

Inherited methods

Attributes

Inherited from:
TMTTime

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product