26 #ifndef __TERRALIB_DATATYPE_INTERNAL_ORDINALPERIOD_H
27 #define __TERRALIB_DATATYPE_INTERNAL_ORDINALPERIOD_H
An abstract class to represent a period of date and time.
A class to represent ordinal time instant.
This file contains several implementations for atomic data types (integers, floats,...
A base class for values that can be retrieved from the data access module.
An abstract class to represent an instant of date and time.
An abstract class to represent a period of date and time.
A class to represent ordinal time instant.
A class to represent ordinal time period.
void setFinalInstant(Int64 ft)
It sets the final time instant.
Int64 getFinalTime() const
It returns the final time instant.
AbstractData * clone() const
It returns a clone of this object.
DateTimeInstant * getFinalInstant() const
It gets the final date time instant.
bool operator==(const DateTime &rhs) const
Operator ==.
DateTimeInstant * getInitialInstant() const
It gets the initial date time instant.
void setInitialInstant(Int64 it)
It sets the inital time instant.
OrdinalInstant m_finalInstant
The final time instant information.
std::string toString() const
It returns the time period in a textual format (initialTimeInstant-finalTimeinstant)
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 <.
OrdinalPeriod(Int64 it, Int64 ft)
Constructor.
Int64 getInitialTime() const
It returns the inital time instant.
bool operator!=(const DateTime &rhs) const
Operator !=.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
DateTimeType
The subtype of date and time type, based on ISO 8621.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.