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