TimeConstants.hpp File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  gpstk

Variables

const double MJD_TO_JD = 2400000.5
 Add this offset to convert Modified Julian Date to Julian Date.
const long MJD_JDAY = 2400001L
 'Julian day' offset from MJD
const long GPS_EPOCH_JDAY = 2444245L
 'Julian day' of GPS epoch (Jan. 6, 1980).
const long GPS_EPOCH_MJD = 44244L
 Modified Julian Date of GPS epoch (Jan. 6, 1980).
const long UNIX_MJD = 40587L
 Modified Julian Date of UNIX epoch (Jan. 1, 1970).
const long HALFWEEK = 302400L
 Seconds per half a GPS week.
const long FULLWEEK = 604800L
 Seconds per whole GPS week.
const long WEEK_PER_EPOCH = 1024L
 Weeks per GPS Epoch.
const long SEC_PER_DAY = 86400L
 Seconds per day.
const double DAY_PER_SEC = 1.0/SEC_PER_DAY
 Days per second.
const long MS_PER_SEC = 1000L
 Milliseconds in a second.
const double SEC_PER_MS = 1.0/MS_PER_SEC
 Seconds per millisecond.
const long MS_PER_DAY = MS_PER_SEC * SEC_PER_DAY
 Milliseconds in a day.
const double DAY_PER_MS = 1.0/MS_PER_DAY
 Days per milliseconds.
const long ZCOUNT_PER_DAY = 57600L
 Zcounts in a day.
const double DAY_PER_ZCOUNT = 1.0/ZCOUNT_PER_DAY
 Days in a Zcount.
const long ZCOUNT_PER_WEEK = 403200L
 Zcounts in a week.
const double WEEK_PER_ZCOUNT = 1.0/ZCOUNT_PER_WEEK
 Weeks in a Zcount.


Variable Documentation

const double DAY_PER_MS = 1.0/MS_PER_DAY
 

Days per milliseconds.

Definition at line 78 of file TimeConstants.hpp.

const double DAY_PER_SEC = 1.0/SEC_PER_DAY
 

Days per second.

Definition at line 68 of file TimeConstants.hpp.

Referenced by JulianDate::convertFromCommonTime().

const double DAY_PER_ZCOUNT = 1.0/ZCOUNT_PER_DAY
 

Days in a Zcount.

Definition at line 83 of file TimeConstants.hpp.

const long FULLWEEK = 604800L
 

Seconds per whole GPS week.

Definition at line 60 of file TimeConstants.hpp.

const long GPS_EPOCH_JDAY = 2444245L
 

'Julian day' of GPS epoch (Jan. 6, 1980).

Definition at line 51 of file TimeConstants.hpp.

Referenced by GPSWeekZcount::convertToCommonTime(), and GPSWeekSecond::convertToCommonTime().

const long GPS_EPOCH_MJD = 44244L
 

Modified Julian Date of GPS epoch (Jan. 6, 1980).

Definition at line 53 of file TimeConstants.hpp.

const long HALFWEEK = 302400L
 

Seconds per half a GPS week.

Definition at line 58 of file TimeConstants.hpp.

const long MJD_JDAY = 2400001L
 

'Julian day' offset from MJD

Definition at line 49 of file TimeConstants.hpp.

Referenced by UnixTime::convertFromCommonTime(), ANSITime::convertFromCommonTime(), UnixTime::convertToCommonTime(), MJD::convertToCommonTime(), and ANSITime::convertToCommonTime().

const double MJD_TO_JD = 2400000.5
 

Add this offset to convert Modified Julian Date to Julian Date.

Definition at line 47 of file TimeConstants.hpp.

Referenced by PlanetEphemeris::readASCIIdata().

const long MS_PER_DAY = MS_PER_SEC * SEC_PER_DAY
 

Milliseconds in a day.

Definition at line 76 of file TimeConstants.hpp.

Referenced by CommonTime::get().

const long MS_PER_SEC = 1000L
 

Milliseconds in a second.

Definition at line 71 of file TimeConstants.hpp.

Referenced by CommonTime::addSeconds(), CommonTime::get(), and CommonTime::set().

const long SEC_PER_DAY = 86400L
 

Seconds per day.

Definition at line 66 of file TimeConstants.hpp.

Referenced by UnixTime::convertFromCommonTime(), GPSWeekSecond::convertFromCommonTime(), ANSITime::convertFromCommonTime(), UnixTime::convertToCommonTime(), GPSWeekSecond::convertToCommonTime(), ANSITime::convertToCommonTime(), and CommonTime::operator-().

const double SEC_PER_MS = 1.0/MS_PER_SEC
 

Seconds per millisecond.

Definition at line 73 of file TimeConstants.hpp.

Referenced by CommonTime::get(), CommonTime::normalize(), and CommonTime::operator-().

const long UNIX_MJD = 40587L
 

Modified Julian Date of UNIX epoch (Jan. 1, 1970).

Definition at line 55 of file TimeConstants.hpp.

Referenced by UnixTime::convertToCommonTime(), and ANSITime::convertToCommonTime().

const long WEEK_PER_EPOCH = 1024L
 

Weeks per GPS Epoch.

Definition at line 63 of file TimeConstants.hpp.

const double WEEK_PER_ZCOUNT = 1.0/ZCOUNT_PER_WEEK
 

Weeks in a Zcount.

Definition at line 88 of file TimeConstants.hpp.

const long ZCOUNT_PER_DAY = 57600L
 

Zcounts in a day.

Definition at line 81 of file TimeConstants.hpp.

const long ZCOUNT_PER_WEEK = 403200L
 

Zcounts in a week.

Definition at line 86 of file TimeConstants.hpp.


Generated on Fri May 17 03:31:35 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1