31 unsigned int precision,
33 std::string* defaultValue,
42 m_precision(precision)
49 unsigned int precision,
51 std::string* defaultValue,
68 unsigned int precision,
70 std::string* defaultValue,
87 unsigned int precision,
89 std::string* defaultValue,
DateTimeProperty(const std::string &name, DateTimeType dateType=DATE, unsigned int precision=0, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new date and time property.
An atomic property like an integer or double.
unsigned int m_precision
Number of digits for the right of the decimal point of a numeric value.
TimeInstant m_ordinalStartTime
The start time when the ordinal type is USER_DEFINED.
DateTimeOrdinalType
The meaning of the ordial 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.
A class to represent time instant.
DateTimeStringFormat m_strFormat
The string format when the data type is STRING_TIME.
A temporal resolution is composed of a unit of time and a value.
static te::dt::TimeDuration dt(20, 30, 50, 11)
SimpleProperty & operator=(const SimpleProperty &rhs)
Assignment operator.
bool isRequired() const
It returns true if the attribute is required, otherwise it returns false.
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.
The type for date and time types.
Property * clone() const
It returns a clone of the object.
DateTimeType
The subtype of date and time type, based on ISO 8621.
TemporalResolution m_tempResolution
The temporal resolution.
DateTimeProperty & operator=(const DateTimeProperty &rhs)
Assignment operator.
DateTimeType m_dSubType
The sub-type of this date time property.