GammaLib
2.1.0.dev
|
Time class implementation. More...
#include <ctime>
#include <cstring>
#include <cstdio>
#include "GTools.hpp"
#include "GMath.hpp"
#include "GException.hpp"
#include "GTime.hpp"
#include "GTimeReference.hpp"
Go to the source code of this file.
Macros | |
#define | G_CONSTRUCT "GTime::GTime(double&, std::string&)" |
#define | G_SECS_GET "GTime::secs(std::string&)" |
#define | G_SECS_SET "GTime::secs(double&, std::string&)" |
#define | G_UTC "GTime::utc(std::string&)" |
#define | G_UTC_GET "GTime::utc(int&)" |
Variables | |
const double | mjd_ref = 55197.000766018518519 |
MJD of time=0. More... | |
const double | jd_ref = mjd_ref + 2400000.5 |
JD of time=0. More... | |
Time class implementation.
Definition in file GTime.cpp.
#define G_CONSTRUCT "GTime::GTime(double&, std::string&)" |
Definition at line 45 of file GTime.cpp.
Referenced by GTime::GTime().
#define G_SECS_GET "GTime::secs(std::string&)" |
Definition at line 46 of file GTime.cpp.
Referenced by GTime::secs().
#define G_SECS_SET "GTime::secs(double&, std::string&)" |
Definition at line 47 of file GTime.cpp.
Referenced by GTime::secs().
#define G_UTC "GTime::utc(std::string&)" |
Definition at line 48 of file GTime.cpp.
Referenced by GTime::utc().
#define G_UTC_GET "GTime::utc(int&)" |
Definition at line 49 of file GTime.cpp.
Referenced by GTime::utc().
const double jd_ref = mjd_ref + 2400000.5 |
const double mjd_ref = 55197.000766018518519 |
MJD of time=0.
Definition at line 41 of file GTime.cpp.
Referenced by GTime::convert(), GTime::mjd(), GTime::reference(), GTime::secs(), and GTime::set().