Functions | |
SCT_TIMESCALE | sct_get_timescale (const sct_time_ptr pElem) |
SCT_RET | sct_set_timescale (sct_time_ptr pElem, SCT_TIMESCALE timescale) |
SCT_RET | sct_from_TAI_to_UTC (sct_time_ptr pElem) |
SCT_RET | sct_from_TAI_to_GPS (sct_time_ptr pElem) |
SCT_RET | sct_from_TAI_to_UT (sct_time_ptr pElem) |
SCT_RET | sct_from_UTC_to_TAI (sct_time_ptr pElem) |
SCT_RET | sct_from_UTC_to_GPS (sct_time_ptr pElem) |
SCT_RET | sct_from_UTC_to_UT (sct_time_ptr pElem) |
SCT_RET | sct_from_GPS_to_TAI (sct_time_ptr pElem) |
SCT_RET | sct_from_GPS_to_UTC (sct_time_ptr pElem) |
SCT_RET | sct_from_GPS_to_UT (sct_time_ptr pElem) |
SCT_RET | sct_from_UT_to_TAI (sct_time_ptr pElem) |
SCT_RET | sct_from_UT_to_GPS (sct_time_ptr pElem) |
SCT_RET | sct_from_UT_to_UTC (sct_time_ptr pElem) |
SCT_RET sct_from_GPS_to_TAI | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from GPS to TAI
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 244 of file sct_timescales.c.
References sct_add_deltaDSF(), SCT_GPS_TAI_LEAPSECOND, SCT_RET_OK, SCT_TIMESCALE_GPS, SCT_TIMESCALE_TAI, and _sct_time_base::timescale.
Here is the call graph for this function:
SCT_RET sct_from_GPS_to_UT | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from GPS to UT
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 303 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_GPS, SCT_TIMESCALE_UT, and _sct_time_base::timescale.
SCT_RET sct_from_GPS_to_UTC | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from GPS to UTC
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 265 of file sct_timescales.c.
References _sct_get_leapseconds_from_epoch(), sct_add_delta(), sct_add_deltaDSF(), SCT_GPS_TAI_LEAPSECOND, SCT_RET_INVALID_LEAPSECONDS, SCT_RET_OK, sct_set_delta_secs(), SCT_TIMESCALE_GPS, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
Here is the call graph for this function:
SCT_RET sct_from_TAI_to_GPS | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from TAI to GPS
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 119 of file sct_timescales.c.
References sct_add_deltaDSF(), SCT_GPS_TAI_LEAPSECOND, SCT_RET_OK, SCT_TIMESCALE_GPS, SCT_TIMESCALE_TAI, and _sct_time_base::timescale.
Here is the call graph for this function:
SCT_RET sct_from_TAI_to_UT | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from TAI to UT
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 140 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_TAI, SCT_TIMESCALE_UT, and _sct_time_base::timescale.
SCT_RET sct_from_TAI_to_UTC | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from TAI to UTC
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 86 of file sct_timescales.c.
References _sct_get_leapseconds_from_epoch(), sct_add_delta(), SCT_RET_INVALID_LEAPSECONDS, SCT_RET_OK, sct_set_delta_secs(), SCT_TIMESCALE_TAI, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
Referenced by main().
Here is the call graph for this function:
SCT_RET sct_from_UT_to_GPS | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UT to GPS
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 337 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_GPS, SCT_TIMESCALE_UT, and _sct_time_base::timescale.
SCT_RET sct_from_UT_to_TAI | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UT to TAI
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 320 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_TAI, SCT_TIMESCALE_UT, and _sct_time_base::timescale.
SCT_RET sct_from_UT_to_UTC | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UT to UTC
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 354 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_UT, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
SCT_RET sct_from_UTC_to_GPS | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UTC to GPS
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 190 of file sct_timescales.c.
References _sct_get_leapseconds_from_epoch(), sct_add_delta(), sct_add_deltaDSF(), SCT_GPS_TAI_LEAPSECOND, SCT_RET_INVALID_LEAPSECONDS, SCT_RET_OK, sct_set_delta_secs(), SCT_TIMESCALE_GPS, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
Here is the call graph for this function:
SCT_RET sct_from_UTC_to_TAI | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UTC to TAI
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 157 of file sct_timescales.c.
References _sct_get_leapseconds_from_epoch(), sct_add_delta(), SCT_RET_INVALID_LEAPSECONDS, SCT_RET_OK, sct_set_delta_secs(), SCT_TIMESCALE_TAI, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
Here is the call graph for this function:
SCT_RET sct_from_UTC_to_UT | ( | sct_time_ptr | pElem | ) |
Function to convert time scale from UTC to UT
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 227 of file sct_timescales.c.
References SCT_RET_OK, SCT_TIMESCALE_UT, SCT_TIMESCALE_UTC, and _sct_time_base::timescale.
SCT_TIMESCALE sct_get_timescale | ( | const sct_time_ptr | pElem | ) |
Function to get the time scale of a given element
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 75 of file sct_timescales.c.
References _sct_time_base::timescale.
SCT_RET sct_set_timescale | ( | sct_time_ptr | pElem, | |
SCT_TIMESCALE | timescale | |||
) |
Function to set the time scale of a given element
pElem | (OUT) Pointer to the sct_time element. |
Definition at line 80 of file sct_timescales.c.
References SCT_RET_OK, and _sct_time_base::timescale.