FOUND
Loading...
Searching...
No Matches
time.hpp File Reference
#include <ctime>
#include "common/decimal.hpp"
Include dependency graph for time.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  found::DateTime
 DateTime represents a date and time. More...
 

Namespaces

namespace  found
 

Macros

#define AVG_DELTA_UT1   0.087497
 

Functions

DateTime found::getUTCTime ()
 Obtains the current UTC time in unix/epoch seconds.
 
DateTime found::getUT1Time ()
 Obtains the current UT1 time in unix/epoch seconds.
 
decimal found::getJulianDateTime (std::time_t epochs)
 Obtains the Julian date from the given epochs in seconds.
 
decimal found::getJulianDateTime (DateTime &time)
 Obtains the current Julian date in decimal format.
 
decimal found::getCurrentJulianDateTime ()
 Obtains the current Julian date in decimal format.
 
decimal found::getGreenwichMeanSiderealTime (std::time_t epochs)
 Obtains the Greenwich Mean Sidereal Time in decimal format from the given epochs.
 
decimal found::getGreenwichMeanSiderealTime (DateTime &time)
 Obtains the Greenwich Mean Sidereal Time in decimal format.
 
decimal found::getCurrentGreenwichMeanSiderealTime ()
 Obtians the current Greenwich Mean Sidereal Time in decimal format.
 

Macro Definition Documentation

◆ AVG_DELTA_UT1

#define AVG_DELTA_UT1   0.087497