26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATETIMEUTILS_H 27 #define __TERRALIB_DATATYPE_INTERNAL_DATETIMEUTILS_H 42 class DateTimeInstant;
112 #endif // __TERRALIB_DATATYPE_INTERNAL_DATETIMEUTILS_H TEDATATYPEEXPORT long GetDistance(const te::dt::DateTime *t1, const te::dt::DateTime *t2)
It returns the distance between two datetime types.
TEDATATYPEEXPORT te::dt::Date * CreateDateFromString(const std::string &dateAsString)
Helper function to create a date from its string representation.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to represent time instant.
TEDATATYPEEXPORT DateTimePeriod * GetTimePeriod(const DateTimeInstant *t1, const DateTimeInstant *t2)
It creates a time period based on two time instants.
Configuration flags for the DataType module of TerraLib.
A base class for date data types.
TEDATATYPEEXPORT te::dt::TimeInstant * CreateDateTimeFromString(const std::string &dataTimeAsString)
Helper function to create a date time from its string representation.
TEDATATYPEEXPORT DateTimePeriod * GetTemporalExtent(const DateTime *t1, const DateTime *t2)
It returns the temporal extent of two date and time types.