TDTScale

org.abh80.nf.core.time.TDTScale
class TDTScale extends TTScale

TDT is the same as TTScale

Attributes

Graph
Supertypes
class TTScale
trait TimeScale
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Returns the most recent leap second adjustment applied to this time scale.

Returns the most recent leap second adjustment applied to this time scale.

For time scales without leap seconds, this returns zero.

Attributes

Returns

The most recent leap second adjustment as a TimeFormat

Inherited from:
TimeScale

Retrieves the leap second adjustment for the given absolute time.

Retrieves the leap second adjustment for the given absolute time.

Value parameters

time

The absolute time for which to determine the leap second adjustment.

Attributes

Returns

The leap second adjustment as a TimeFormat instance.

Inherited from:
TimeScale
def getName: String

Gets the identifying name of this time scale.

Gets the identifying name of this time scale.

Attributes

Returns

The name of this time scale (e.g., "UTC", "TAI", "TT")

Inherited from:
TimeScale
def isInsideLeapSecond(time: AbsoluteTime): Boolean

Determines if a given absolute time falls within a leap second.

Determines if a given absolute time falls within a leap second.

For time scales that don't use leap seconds (like TAI), this always returns false. For UTC, this would return true during leap second events.

Value parameters

time

The absolute time to check

Attributes

Returns

true if the time is inside a leap second, false otherwise

Inherited from:
TimeScale
def minuteDuration(time: AbsoluteTime): Int

Duration of a minute in seconds. Default is 60 seconds for most time scales. May differ for specialized astronomical time scales.

Duration of a minute in seconds. Default is 60 seconds for most time scales. May differ for specialized astronomical time scales.

Attributes

Inherited from:
TimeScale
override def timePastTAI(date: AbsoluteTime): TimeFormat

Gets the time past TAI for this time scale.

Gets the time past TAI for this time scale.

Attributes

Returns

The fixed offset, representing the time past TAI.

Definition Classes
Inherited from:
FixedTimeOffsetScale
override def timeToTAI(date: Date, time: Time): TimeFormat

Gets the time to TAI from this time scale.

Gets the time to TAI from this time scale.

Attributes

Returns

The negation of the fixed offset, representing the time to TAI.

Definition Classes
Inherited from:
FixedTimeOffsetScale
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
TimeScale -> Any
Inherited from:
TimeScale

Inherited fields

override protected val name: String

The name identifier of this time scale

The name identifier of this time scale

Attributes

Inherited from:
FixedTimeOffsetScale

Attributes

Inherited from:
FixedTimeOffsetScale