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

Data Structures

struct  Int
 
struct  Double
 
struct  GWeek
 
struct  BWeek
 
struct  GTow
 
struct  BTow
 
struct  RTod
 
struct  Duration
 
struct  GTime
 Time structure used throughout this software. More...
 
struct  PTime
 
struct  MjDateUtc
 
struct  MjDateUt1
 
struct  MjDateTT
 
struct  UtcTime
 
struct  GEpoch
 
struct  UYds
 

Functions

string time2str (GTime t, int n)
 
GTime yds2time (const double *yds, E_TimeSys tsys=E_TimeSys::GPST)
 
void time2yds (GTime time, double *yds, E_TimeSys tsys=E_TimeSys::GPST)
 
GTime epoch2time (const double *ep, E_TimeSys tsys=E_TimeSys::GPST)
 
void time2epoch (GTime time, double *ep, E_TimeSys tsys=E_TimeSys::GPST)
 
double leapSeconds (GTime time)
 
GTime timeGet ()
 
UtcTime gpst2utc (GTime t)
 
GTime utc2gpst (UtcTime t)
 
double str2num (const char *s, int i, int n)
 
GTime gpst2time (int week, double sec)
 
double time2gpst (GTime t, int *week=nullptr)
 
GTime bdt2time (int week, double sec)
 
double time2bdt (GTime t, int *week=nullptr)
 
int str2time (const char *s, int i, int n, GTime &t, E_TimeSys tsys=E_TimeSys::GPST)
 
void jd2ymdhms (const double jd, double *ep)
 
double ymdhms2jd (const double time[6])
 
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

◆ bdt2time()

GTime bdt2time ( int week,
double sec )

◆ 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 = E_TimeSys::GPST )
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 t)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ jd2ymdhms()

void jd2ymdhms ( const double jd,
double * ep )

◆ 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:

◆ 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 = E_TimeSys::GPST )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ time2bdt()

double time2bdt ( GTime t,
int * week = nullptr )

◆ time2epoch()

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

◆ time2gpst()

double time2gpst ( GTime t,
int * week = nullptr )

◆ time2str()

string time2str ( GTime t,
int n )

◆ time2yds()

void time2yds ( GTime time,
double * yds,
E_TimeSys tsys = E_TimeSys::GPST )
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 t)
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 = E_TimeSys::GPST )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ymdhms2jd()

double ymdhms2jd ( const double time[6])