![]() |
GWOLLUM 4.2.0
Tools for gravitational-wave analyses
|
#include "Date.h"
Functions | |
| string | GetTimeStampFromGps (const unsigned int aGps) |
| Returns the time stamp from a GPS time. | |
| struct tm * | GPSToUTC (struct tm *aUtc, unsigned int aGps) |
| Returns a pointer to a tm structure representing the time specified in seconds since the GPS epoch. | |
| double | JulianDay (const struct tm *aUtc) |
| Returns the Julian Day (JD) corresponding to the date given in a broken down time structure. | |
| int | LeapSeconds (const unsigned int aGps) |
| Returns the leap seconds TAI-UTC at a given GPS second. | |
| int | LeapSecondsUTC (const struct tm *aUtc) |
| Returns the leap seconds TAI-UTC for a given UTC broken down time. | |
| unsigned int | UTCToGPS (const struct tm *aUtc) |
| Returns the GPS seconds for a specified UTC time structure. | |
| string GetTimeStampFromGps | ( | const unsigned int | aGps | ) |
Returns the time stamp from a GPS time.
Format: "%Y-%b-%d %H:%M:%S"
| [in] | aGps | GPS time [s]. |
| struct tm * GPSToUTC | ( | struct tm * | aUtc, |
| unsigned int | aGps | ||
| ) |
Returns a pointer to a tm structure representing the time specified in seconds since the GPS epoch.
| [out] | aUtc | Pointer to a time structure. |
| [in] | aGps | GPS time [s]. |
| double JulianDay | ( | const struct tm * | aUtc | ) |
Returns the Julian Day (JD) corresponding to the date given in a broken down time structure.
| [in] | aUtc | Pointer to a time structure. |
| int LeapSeconds | ( | const unsigned int | aGps | ) |
Returns the leap seconds TAI-UTC at a given GPS second.
| [in] | aGps | GPS time [s]. |
| int LeapSecondsUTC | ( | const struct tm * | aUtc | ) |
Returns the leap seconds TAI-UTC for a given UTC broken down time.
| [in] | aUtc | Pointer to a time structure. |
| unsigned int UTCToGPS | ( | const struct tm * | aUtc | ) |
Returns the GPS seconds for a specified UTC time structure.
| [in] | aUtc | Pointer to a time structure. |