32 std::string* defaultValue,
48 std::string* defaultValue,
53 m_tempResolution(tmpRes),
65 std::string* defaultValue,
70 m_tempResolution(tmpRes),
71 m_strFormat(strFormat),
82 std::string* defaultValue,
87 m_tempResolution(tmpRes),
89 m_ordinalType(ordType),
90 m_ordinalStartTime(startTime)
96 m_dSubType(rhs.m_dSubType),
97 m_tempResolution(rhs.m_tempResolution),
98 m_strFormat(rhs.m_strFormat),
99 m_ordinalType(rhs.m_ordinalType),
100 m_ordinalStartTime(rhs.m_ordinalStartTime)
An atomic property like an integer or double.
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.
DateTimeProperty(const std::string &name, DateTimeType dateType=DATE, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new date and time property.
A temporal resolution is composed of a unit of time and a value.
SimpleProperty & operator=(const SimpleProperty &rhs)
Assignment operator.
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.