26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATETIMEUTILS_H
27 #define __TERRALIB_DATATYPE_INTERNAL_DATETIMEUTILS_H
42 class DateTimeInstant;
An abstract class to represent an instant of date and time.
An abstract class to represent a period of date and time.
A base class for date data types.
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.
TEDATATYPEEXPORT te::dt::Date * CreateDateFromString(const std::string &dateAsString)
Helper function to create a date from its string representation.
TEDATATYPEEXPORT te::dt::TimeInstant * CreateDateTimeFromString(const std::string &dataTimeAsString)
Helper function to create a date time from its string representation.
TEDATATYPEEXPORT long GetDistance(const te::dt::DateTime *t1, const te::dt::DateTime *t2)
It returns the distance between two datetime types.
TEDATATYPEEXPORT DateTimePeriod * GetTemporalExtent(const DateTime *t1, const DateTime *t2)
It returns the temporal extent of two date and time types.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).