26 #ifndef __TERRALIB_DATATYPE_INTERNAL_ORDINALINSTANT_H
27 #define __TERRALIB_DATATYPE_INTERNAL_ORDINALINSTANT_H
An abstract class to represent an instant of date and time.
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.
A class to represent ordinal time instant.
DateTimeType getDateTimeType() const
It returns the subtype of the date and time type.
Int64 m_timeInstant
The internal time instant information.
OrdinalInstant(Int64 t)
Constructor.
void setTimeInstant(Int64 t)
It sets the time instant.
Int64 getTimeInstant() const
It returns the time instant.
bool operator<(const DateTime &rhs) const
Operator <.
OrdinalInstant()
Empty constructor.
AbstractData * clone() const
It returns a clone of this object.
std::string toString() const
It returns the time instant in a textual format.
bool operator!=(const DateTime &rhs) const
Operator !=.
bool operator>(const DateTime &rhs) const
Operator >
bool operator==(const DateTime &rhs) const
Operator ==.
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.