#include <UTCTime.hpp>
Inheritance diagram for UTCTime:


The Chart of Different Time System -------------------------------------------------------------------
-14s -----------------> BDT(Compass Time) | | +19s +32.184s +rel.effects GPST ------------> TAI ----------------> TT -----------------> TDB T | -(UT1-TAI) | | -leap seconds UT1 ---------------| |--------------------> UTC
| earth rotation ---------------------> GAST
Definition at line 63 of file UTCTime.hpp.
Public Member Functions | |
| UTCTime () | |
| Default constructor. | |
| UTCTime (CommonTime &utc) | |
| UTCTime (int year, int month, int day, int hour, int minute, double second) | |
| UTCTime (int year, int doy, double sod) | |
| UTCTime (double mjdUTC) | |
| virtual | ~UTCTime () throw () |
| Default deconstructor. | |
| double | mjdUT1 () |
| double | mjdUTC () |
| double | mjdTT () |
| double | mjdTDB () |
| double | mjdTAI () |
| double | mjdGPST () |
| double | jdUT1 () |
| double | jdUTC () |
| double | jdTT () |
| double | jdTDB () |
| double | jdTAI () |
| double | jdGPST () |
| Epoch | asUT1 () |
| Return UT1 Time. | |
| Epoch | asUTC () |
| Return UTC Time. | |
| Epoch | asTT () |
| Return TT Time. | |
| Epoch | asTDB () |
| Return TDB Time. | |
| Epoch | asTAI () |
| Return TAI Time. | |
| Epoch | asGPST () |
| Return GPS Time. | |
| Epoch | asBDT () |
| Return BD(Compass) Time. | |
| double | xPole () |
| double | yPole () |
| double | UT1mUTC () |
| double | TAImUTC () |
| double | GPSTmUTC () |
| void | test () |
| some test | |
Static Public Attributes | |
| const double | DAY_TO_SECOND = 86400.0 |
| Seconds per day. | |
| const double | TT_TAI = 32.184 |
| Constant used for conversion to Terrestrial Time. | |
| const double | TAI_GPS = 19.0 |
| Constant used for conversion to GPS time. | |
Protected Member Functions | |
| double | ctatv (long jdno, double fjdno) |
| Computes the cumulative relativistic time correction to earth-based clocks, TDB-TDT, for a given time. | |
|
|
Default constructor.
Definition at line 68 of file UTCTime.hpp. |
|
|
Definition at line 70 of file UTCTime.hpp. |
|
||||||||||||||||||||||||||||
|
Definition at line 73 of file UTCTime.hpp. |
|
||||||||||||||||
|
Definition at line 77 of file UTCTime.hpp. |
|
|
Definition at line 81 of file UTCTime.hpp. |
|
|
Default deconstructor.
Definition at line 86 of file UTCTime.hpp. |
|
|
Return BD(Compass) Time.
Definition at line 135 of file UTCTime.cpp. References UTCTime::asGPST(). |
|
|
Return GPS Time.
Definition at line 124 of file UTCTime.cpp. References gpstk::TAImUTC(). Referenced by UTCTime::asBDT(), UTCTime::GPSTmUTC(), and UTCTime::test(). |
|
|
Return TAI Time.
Definition at line 115 of file UTCTime.cpp. References gpstk::TAImUTC(). Referenced by UTCTime::test(), and gpstk::UTC2TAI(). |
|
|
Return TDB Time.
Definition at line 73 of file UTCTime.cpp. References UTCTime::asTT(), UTCTime::ctatv(), Epoch::MJD(), UTCTime::MJDTime::MJDfr, and UTCTime::MJDTime::MJDint. Referenced by HarrisPriesterDrag::computeDensity(), SunForce::doCompute(), SolarRadiationPressure::doCompute(), MoonForce::doCompute(), EarthSolidTide::getSolidTide(), and UTCTime::test(). |
|
|
Return TT Time.
Definition at line 66 of file UTCTime.cpp. Referenced by UTCTime::asTDB(), EarthOceanTide::getOceanTide(), EarthSolidTide::getSolidTide(), and UTCTime::test(). |
|
|
Return UT1 Time.
Definition at line 49 of file UTCTime.cpp. References gpstk::UT1mUTC(). Referenced by EarthOceanTide::getOceanTide(), EarthSolidTide::getSolidTide(), and UTCTime::test(). |
|
|
Return UTC Time.
Definition at line 58 of file UTCTime.cpp. Referenced by UTCTime::GPSTmUTC(), and UTCTime::test(). |
|
||||||||||||
|
Computes the cumulative relativistic time correction to earth-based clocks, TDB-TDT, for a given time. Routine furnished by the Bureau des Longitudes, modified by removal of terms much smaller than 0.1 microsecond.
Definition at line 153 of file UTCTime.cpp. References gpstk::sin(). Referenced by UTCTime::asTDB(). |
|
|
Definition at line 322 of file UTCTime.cpp. References UTCTime::asGPST(), and UTCTime::asUTC(). |
|
|
Definition at line 118 of file UTCTime.hpp. |
|
|
Definition at line 116 of file UTCTime.hpp. |
|
|
Definition at line 114 of file UTCTime.hpp. |
|
|
Definition at line 112 of file UTCTime.hpp. |
|
|
Definition at line 108 of file UTCTime.hpp. |
|
|
Definition at line 110 of file UTCTime.hpp. |
|
|
Definition at line 103 of file UTCTime.hpp. |
|
|
Definition at line 101 of file UTCTime.hpp. |
|
|
Definition at line 99 of file UTCTime.hpp. |
|
|
Definition at line 97 of file UTCTime.hpp. |
|
|
Definition at line 93 of file UTCTime.hpp. Referenced by EarthBody::getSpinRate(). |
|
|
Definition at line 95 of file UTCTime.hpp. Referenced by SphericalHarmonicGravity::correctCSTides(), SatOrbitPropagator::test(), and SatOrbitPropagator::writeToFile(). |
|
|
Definition at line 317 of file UTCTime.cpp. References gpstk::TAImUTC(). |
|
|
some test
Definition at line 328 of file UTCTime.cpp. References UTCTime::asGPST(), UTCTime::asTAI(), UTCTime::asTDB(), UTCTime::asTT(), UTCTime::asUT1(), UTCTime::asUTC(), gpstk::TT2UTC(), and gpstk::UTC2TT(). |
|
|
Definition at line 312 of file UTCTime.cpp. References gpstk::UT1mUTC(). |
|
|
Definition at line 302 of file UTCTime.cpp. |
|
|
Definition at line 307 of file UTCTime.cpp. |
|
|
Seconds per day.
Definition at line 40 of file UTCTime.cpp. |
|
|
Constant used for conversion to GPS time.
Definition at line 46 of file UTCTime.cpp. |
|
|
Constant used for conversion to Terrestrial Time.
Definition at line 43 of file UTCTime.cpp. |
1.3.9.1