FixedTimeOffsetScale
A time scale that applies a fixed offset to TAI.
Value parameters
- name
-
The name of this time scale.
- offset
-
The fixed offset to apply to TAI. This offset represents the difference between the target time scale and TAI. For example, if the target time scale is always 10 seconds ahead of TAI, then the offset should be +10 seconds.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
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
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 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
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
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
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
Concrete fields
The name identifier of this time scale
The name identifier of this time scale