1 #ifndef MHO_LegacyDateConverter_HH__
2 #define MHO_LegacyDateConverter_HH__
this class is necessary to prevent a collision between the "namespace date" and the legacy HOPS3 "str...
Definition: MHO_LegacyDateConverter.hh:20
static std::string ConvertToVexFormat(legacy_hops_date a_date)
Converts a legacy date to VEX format.
Definition: MHO_LegacyDateConverter.cc:16
MHO_LegacyDateConverter()
Definition: MHO_LegacyDateConverter.hh:22
static legacy_hops_date Now()
Returns current date-time as legacy_hops_date.
Definition: MHO_LegacyDateConverter.cc:52
static std::string ConvertToISO8601Format(legacy_hops_date a_date)
Converts a legacy date to ISO8601 format.
Definition: MHO_LegacyDateConverter.cc:10
static legacy_hops_date ConvertFromVexFormat(std::string vex_date)
Converts a VEX date string to legacy_hops_date.
Definition: MHO_LegacyDateConverter.cc:22
virtual ~MHO_LegacyDateConverter()
Definition: MHO_LegacyDateConverter.hh:23
static legacy_hops_date HopsEpoch()
Calculates and returns the legacy date for the current Hops epoch.
Definition: MHO_LegacyDateConverter.cc:62
static legacy_hops_date ConvertFromISO8601Format(std::string iso_date)
Converts ISO8601 date string to legacy_hops_date format.
Definition: MHO_LegacyDateConverter.cc:37
Definition: MHO_ChannelLabeler.hh:17
A struct to avoid name collisions between the mk4utils 'data' struct and the 'date' header library.
Definition: legacy_hops_date.hh:17