Ginan
Loading...
Searching...
No Matches
gTime.cpp File Reference

Functions

ostream & operator<< (ostream &stream, const GTime &time)
 
ostream & operator<< (ostream &stream, const Duration &duration)
 
double str2num (const char *s, int i, int n)
 
int str2time (const char *s, int i, int n, GTime &t, E_TimeSys tsys)
 
GTime yds2time (const double *yds, E_TimeSys tsys)
 
void time2yds (GTime time, double *yds, E_TimeSys tsys)
 
GTime epoch2time (const double *ep, E_TimeSys tsys)
 
void time2epoch (GTime time, double *ep, E_TimeSys tsys)
 
GTime gpst2time (int week, double sec)
 
GTime timeGet ()
 
double leapSeconds (GTime time)
 
UtcTime gpst2utc (GTime time)
 
GTime utc2gpst (UtcTime utcTime)
 
GTime nearestTime (GTime referenceEpoch, double tom, GTime nearTime, int mod)
 Use a time of modulus and recent time to calculate the new time.
 
boost::posix_time::ptime currentLogptime ()
 Returns (posix) for current epoch.
 

Function Documentation

◆ currentLogptime()

boost::posix_time::ptime currentLogptime ( )

Returns (posix) for current epoch.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ epoch2time()

GTime epoch2time ( const double * ep,
E_TimeSys tsys )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gpst2time()

GTime gpst2time ( int week,
double sec )
Here is the caller graph for this function:

◆ gpst2utc()

UtcTime gpst2utc ( GTime time)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ leapSeconds()

double leapSeconds ( GTime time)
Here is the caller graph for this function:

◆ nearestTime()

GTime nearestTime ( GTime referenceEpoch,
double tom,
GTime nearTime,
int mod )

Use a time of modulus and recent time to calculate the new time.

Here is the caller graph for this function:

◆ operator<<() [1/2]

ostream & operator<< ( ostream & stream,
const Duration & duration )

◆ operator<<() [2/2]

ostream & operator<< ( ostream & stream,
const GTime & time )

◆ str2num()

double str2num ( const char * s,
int i,
int n )
Here is the caller graph for this function:

◆ str2time()

int str2time ( const char * s,
int i,
int n,
GTime & t,
E_TimeSys tsys )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ time2epoch()

void time2epoch ( GTime time,
double * ep,
E_TimeSys tsys )
Here is the caller graph for this function:

◆ time2yds()

void time2yds ( GTime time,
double * yds,
E_TimeSys tsys )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeGet()

GTime timeGet ( )
Here is the caller graph for this function:

◆ utc2gpst()

GTime utc2gpst ( UtcTime utcTime)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yds2time()

GTime yds2time ( const double * yds,
E_TimeSys tsys )
Here is the call graph for this function:
Here is the caller graph for this function: