35 boost::gregorian::greg_month month,
36 boost::gregorian::greg_day day)
79 return new Date(*
this);
84 return boost::gregorian::to_simple_string(
m_date);
boost::gregorian::date m_date
Internal date information.
bool operator<(const DateTime &rhs) const
Operator <.
std::string toString() const
It returns the date in the ISO textual format (YYYYMMDD).
bool operator>(const DateTime &rhs) const
Operator >
AbstractData * clone() const
It returns a clone of this object.
virtual ~Date()
Destructor.
const boost::gregorian::date & getDate() const
It returns the internal boost date type.
A base class for date data types.
static te::dt::DateTime d(2010, 8, 9, 15, 58, 39)
bool operator!=(const DateTime &rhs) const
Operator !=.
A base class for values that can be retrieved from the data access module.
bool operator==(const DateTime &rhs) const
Operator ==.
long operator-(const Date &rhs) const
Operator -.
A base class for date data types.