26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATETIMEPROPERTY_H
27 #define __TERRALIB_DATATYPE_INTERNAL_DATETIMEPROPERTY_H
67 bool isRequired =
false,
68 std::string* defaultValue = 0,
90 bool isRequired =
false,
91 std::string* defaultValue = 0,
115 bool isRequired =
false,
116 std::string* defaultValue = 0,
142 bool isRequired =
false,
143 std::string* defaultValue = 0,
257 #endif // __TERRALIB_DATATYPE_INTERNAL_DATETIMEPROPERTY_H
An atomic property like an integer or double.
void setResolution(TemporalResolution t)
It sets the temporal resolution.
DateTimeStringFormat getStrFormat() const
It returns the string format.
TimeInstant m_ordinalStartTime
The start time when the ordinal type is USER_DEFINED.
DateTimeOrdinalType
The meaning of the ordial time.
void setOrdinalStartTime(TimeInstant t)
It sets the start time associated to the user-defined ordinal date and time.
DateTimeOrdinalType m_ordinalType
The ordinal type when the data type is ORDINAL_TIME.
DateTimeStringFormat
The format of a string that represents a date and time.
It models a property definition.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to represent time instant.
DateTimeStringFormat m_strFormat
The string format when the data type is STRING_TIME.
TemporalResolution getResolution() const
It returns the temporal resolution.
A temporal resolution is composed of a unit of time and a value.
A class to represent time instant.
~DateTimeProperty()
Destructor.
void setStrFormat(DateTimeStringFormat f)
It sets the string format.
The type for date and time types: date, date period, date duration, time duration, time instant, time period, time instant with time zone or time period with time zone.
void setOrdinalType(DateTimeOrdinalType t)
It sets the ordinal type.
DateTimeOrdinalType getOrdinalType() const
It returns the ordinal type, when the date and time is represented by a ordinal number.
An atomic property like an integer or double.
void setSubtype(DateTimeType t)
It sets the date time property sub type.
General enumerations for the data type module.
DateTimeType
The subtype of date and time type, based on ISO 8621.
DateTimeType getSubType() const
It returns the date time property sub type.
TimeInstant getOrdinalStartTime() const
It returns the start time associated to the user-defined ordinal date and time.
TemporalResolution m_tempResolution
The temporal resolution.
DateTimeType m_dSubType
The sub-type of this date time property.