Public Types | |
| enum | Format { eNone, eGPS, eUTC, eMoon, eUnix, eMJD } |
Public Member Functions | |
| const utl::UTCDateTime | epoch (2000, 1, 6, 14, 20, 30) |
| if (!what.empty()) | |
| const utl::TimeInterval | interval (altLunation *kMeanSynodicMonth *utl::day) |
| const double | kMeanSynodicMonth (29.530589) |
| Parser () | |
| bool | ReadStrToTime (std::string &str) |
| utl::TimeStamp | result (epoch.GetTimeStamp()+interval) |
| stream | seekg (0) |
| result | SetGPSTime (result.GetGPSSecond()+(result.GetGPSNanoSecond() > 500e6?1:0), 0) |
| void | SetInputFormat (Format expected) |
| void | SetOutputFormat (Format expected) |
Public Attributes | |
| void | const |
| bool | const |
| utl::TimeStamp | const |
| utl::LeapSeconds & | fLeapSeconds |
| Format | fOutputFormat |
| utl::TimeStamp | fTime |
| return | result |
| return | true |
| stream | what |
Definition at line 29 of file auger-convert-time.cc.
| enum Parser::Format |
| Enumerator | |
|---|---|
| eNone | |
| eGPS | |
| eUTC | |
| eMoon | |
| eUnix | |
| eMJD | |
Definition at line 32 of file auger-convert-time.cc.
|
inline |
Definition at line 41 of file auger-convert-time.cc.
| const utl::UTCDateTime Parser::epoch | ( | 2000 | , |
| 1 | , | ||
| 6 | , | ||
| 14 | , | ||
| 20 | , | ||
| 30 | |||
| ) |
|
inline |
Definition at line 80 of file auger-convert-time.cc.
References ERROR.
| const utl::TimeInterval Parser::interval | ( | altLunation *kMeanSynodicMonth *utl::day | ) |
| const double Parser::kMeanSynodicMonth | ( | 29. | 530589 | ) |
|
inline |
Definition at line 129 of file auger-convert-time.cc.
References utl::LeapSeconds::ConvertUnixToGPS(), utl::day, eGPS, eMoon, eNone, ERROR, eUnix, eUTC, fLeapSeconds, fOutputFormat, fTime, utl::AugerException::GetMessage(), utl::UTCDateTime::GetTimeStamp(), utl::hour, utl::minute, galactic::second, utl::TimeStamp::SetGPSTime(), what, and galactic::year.
Referenced by main().
| utl::TimeStamp Parser::result | ( | epoch.GetTimeStamp()+ | interval | ) |
| stream Parser::seekg | ( | 0 | ) |
| result Parser::SetGPSTime | ( | result. | GetGPSSecond)+(result.GetGPSNanoSecond() > 500e6?1:0, |
| 0 | |||
| ) |
|
inline |
Definition at line 117 of file auger-convert-time.cc.
Referenced by main().
|
inline |
Definition at line 123 of file auger-convert-time.cc.
References fOutputFormat.
Referenced by main().
| void Parser::const |
Definition at line 50 of file auger-convert-time.cc.
| bool Parser::const |
| utl::TimeStamp Parser::const |
Definition at line 96 of file auger-convert-time.cc.
| utl::LeapSeconds& Parser::fLeapSeconds |
Definition at line 303 of file auger-convert-time.cc.
Referenced by ReadStrToTime().
| Format Parser::fOutputFormat |
Definition at line 301 of file auger-convert-time.cc.
Referenced by ReadStrToTime(), and SetOutputFormat().
| utl::TimeStamp Parser::fTime |
Definition at line 302 of file auger-convert-time.cc.
Referenced by ReadStrToTime().
| return Parser::result |
Definition at line 113 of file auger-convert-time.cc.
| return Parser::true |
Definition at line 85 of file auger-convert-time.cc.
| stream Parser::what |
Definition at line 79 of file auger-convert-time.cc.
Referenced by ReadStrToTime().