LAL  7.5.0.1-08ee4f4
XLALCivilTime.c File Reference

Prototypes

static int delta_tai_utc (INT4 gpssec)
 
int XLALLeapSeconds (INT4 gpssec)
 Returns the leap seconds TAI-UTC at a given GPS second. More...
 
int XLALGPSLeapSeconds (INT4 gpssec)
 Returns the leap seconds GPS-UTC at a given GPS second. More...
 
int XLALLeapSecondsUTC (const struct tm *utc)
 Returns the leap seconds TAI-UTC for a given UTC broken down time. More...
 
struct tm * XLALFillUTC (struct tm *utc)
 Fill in derived fields, e.g. More...
 
time_t XLALSecondsSinceUnixEpoch (const struct tm *utc)
 Compute Unix epoch time: seconds since 1970 January 1 0h UTC (POSIX:2001 definition of Unix Epoch). More...
 
INT4 XLALUTCToGPS (const struct tm *utc)
 Returns the GPS seconds since the GPS epoch for a specified UTC time structure. More...
 
struct tm * XLALGPSToUTC (struct tm *utc, INT4 gpssec)
 Returns a pointer to a tm structure representing the time specified in seconds since the GPS epoch. More...
 
REAL8 XLALConvertCivilTimeToJD (const struct tm *civil)
 Returns the Julian Day (JD) corresponding to the civil date and time given in a broken down time structure. More...
 
REAL8 XLALConvertCivilTimeToMJD (const struct tm *civil)
 Returns the Modified Julian Day MJD corresponding to the civil date and time given in a broken down time structure (using the same time system as the input). More...
 
REAL8 XLALJulianDay (const struct tm *civil)
 
INT4 XLALModifiedJulianDay (const struct tm *civil)
 

Go to the source code of this file.

Macros

#define gmtime_r(timep, result)   memcpy((result), gmtime(timep), sizeof(struct tm))
 

Macro Definition Documentation

◆ gmtime_r

#define gmtime_r (   timep,
  result 
)    memcpy((result), gmtime(timep), sizeof(struct tm))

Definition at line 30 of file XLALCivilTime.c.