[−][src]Module nyx_space::time
Re-export of hifitime
Structs
ClockNoise | ClockNoise adds true clock drift to a given Duration measurement. For example, if a vehicle is
measuring the time of flight of a signal with high precision oscillator, the engineering
specifications will include the oscillator stability. This specification bounds the preciseness
of time span calculations. On very short time spans, i.e. less than a few minutes, clock drift
is usually negligible. However, in several high fidelity systems the clock drift may lead to
a significant error (e.g. several kilometers in two-way radar ranging). This module allows high
fidelity simulation systems to test the resilience of algorithms with oscillator stability.
The constructors here are specified in parts per million: for a parts per billion specification
simply multiply the value by |
Epoch | Defines an Epoch in TAI (temps atomique international) in seconds past 1900 January 01 at midnight (like the Network Time Protocol). |
Enums
Errors | Errors handles all oddities which may occur in this library. |
Constants
DAYS_PER_YEAR |
|
J1900_OFFSET |
|
J2000_OFFSET |
|
MJD_OFFSET | Modified Julian Date in seconds as defined here. MJD epoch is Modified Julian Day at 17 November 1858 at midnight. |
SECONDS_PER_DAY |
|
SECONDS_PER_HOUR |
|
SECONDS_PER_MINUTE |
|
SECONDS_PER_TROPICAL_YEAR |
|
Functions
is_gregorian_valid | Returns true if the provided Gregorian date is valid. Leap second days may have 60 seconds. |