36 : m_initialInstant(it),
84 return std::string(m_initialInstant.toString() +
"-" + m_finalInstant.toString());
A class to represent ordinal time period.
std::string toString() const
It returns the time period in a textual format (initialTimeInstant-finalTimeinstant) ...
OrdinalInstant m_finalInstant
The final time instant information.
A class to represent ordinal time period.
DateTimeInstant * getInitialInstant() const
It gets the initial date time instant.
bool operator>(const DateTime &rhs) const
Operator >
A base class for values that can be retrieved from the data access module.
AbstractData * clone() const
It returns a clone of this object.
DateTimeInstant * getFinalInstant() const
It gets the final date time instant.
A class to represent ordinal time instant.
bool operator<(const DateTime &rhs) const
Operator <.
OrdinalInstant m_initialInstant
The initial time instant information.
OrdinalPeriod()
Empty constructor.
bool operator==(const DateTime &rhs) const
Operator ==.
An abstract class to represent an instant of date and time.
bool operator!=(const DateTime &rhs) const
Operator !=.