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


Definition at line 37 of file JulianDate.hpp.
Public Member Functions | ||||
| JulianDate (long double j=0.) throw () | ||||
| Default Constructor. | ||||
| JulianDate (const JulianDate &right) throw () | ||||
| Copy Constructor. | ||||
| JulianDate (const TimeTag &right) throw ( gpstk::InvalidRequest ) | ||||
| Alternate Copy Constructor. | ||||
| JulianDate (const CommonTime &right) throw ( ) | ||||
| Alternate Copy Constructor. | ||||
| JulianDate & | operator= (const JulianDate &right) throw () | |||
| Assignment Operator. | ||||
| virtual | ~JulianDate () throw () | |||
| Virtual Destructor. | ||||
| virtual CommonTime | convertToCommonTime () const throw ( InvalidRequest ) | |||
| ||||
| virtual void | convertFromCommonTime (const CommonTime &ct) throw () | |||
| ||||
| virtual std::string | printf (const std::string &fmt) const throw ( gpstk::StringUtils::StringException ) | |||
| This function formats this time to a string. | ||||
| virtual std::string | printError (const std::string &fmt) const throw ( gpstk::StringUtils::StringException ) | |||
| This function works similarly to printf. | ||||
| virtual bool | setFromInfo (const IdToValue &info) throw () | |||
| Set this object using the information provided in info. | ||||
| virtual std::string | getPrintChars () const throw () | |||
| Return a string containing the characters that this class understands when printing times. | ||||
| virtual std::string | getDefaultFormat () const throw () | |||
| Return a string containing the default format to use in printing. | ||||
| virtual bool | isValid () const throw () | |||
| Returns true if this object's members are valid, false otherwise. | ||||
| virtual void | reset () throw () | |||
| Reset this object to the default state. | ||||
| bool | operator== (const JulianDate &right) const throw () | |||
| bool | operator!= (const JulianDate &right) const throw () | |||
| bool | operator< (const JulianDate &right) const throw () | |||
| bool | operator> (const JulianDate &right) const throw () | |||
| bool | operator<= (const JulianDate &right) const throw () | |||
| bool | operator>= (const JulianDate &right) const throw () | |||
Public Attributes | ||||
| long double | jd | |||
|
|
Implements TimeTag. Definition at line 60 of file JulianDate.cpp. References gpstk::DAY_PER_SEC. Referenced by JulianDate::isValid(). |
|
|
Implements TimeTag. Definition at line 39 of file JulianDate.cpp. References GPSTK_THROW, and JulianDate::jd. Referenced by JulianDate::isValid(), and gpstk::scanTime(). |
|
|
Return a string containing the default format to use in printing.
Implements TimeTag. Definition at line 138 of file JulianDate.hpp. |
|
|
Return a string containing the characters that this class understands when printing times.
Implements TimeTag. Definition at line 131 of file JulianDate.hpp. |
|
|
Returns true if this object's members are valid, false otherwise.
Implements TimeTag. Definition at line 123 of file JulianDate.cpp. References JulianDate::convertFromCommonTime(), and JulianDate::convertToCommonTime(). |
|
|
This function works similarly to printf. Instead of filling the format with data, it fills with error messages. Implements TimeTag. Definition at line 91 of file JulianDate.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. |
|
|
This function formats this time to a string. The exceptions thrown would only be due to problems parsing the fmt string. Implements TimeTag. Definition at line 73 of file JulianDate.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. |
|
|
Reset this object to the default state.
Implements TimeTag. Definition at line 135 of file JulianDate.cpp. References JulianDate::jd. |
|
|
Set this object using the information provided in info.
Implements TimeTag. Definition at line 109 of file JulianDate.cpp. References gpstk::StringUtils::asLongDouble(). Referenced by gpstk::scanTime(). |
|
|
Definition at line 172 of file JulianDate.hpp. Referenced by JulianDate::convertToCommonTime(), and JulianDate::reset(). |
1.3.9.1