Library: Data
Package: DataCore
Header: Poco/Data/Date.h
Date class wraps a DateTime and exposes date related interface. The purpose of this class is binding/extraction support for date fields.
Member Functions: assign, day, month, operator !=, operator <, operator =, operator ==, operator >, year
Date();
Creates the Date
Date(
int year,
int month,
int day
);
Creates the Date
~Date();
Destroys the Date.
void assign(
int year,
int month,
int day
);
Assigns date.
int day() const;
Returns the day.
int month() const;
Returns the month.
bool operator != (
const Date & date
) const;
Inequality operator.
bool operator < (
const Date & date
) const;
Less then operator.
Date & operator = (
const Date & d
);
Assignment operator for Date.
Date & operator = (
const DateTime & dt
);
Assignment operator for DateTime.
Date & operator = (
const Poco::Dynamic::Var & var
);
Assignment operator for Var.
bool operator == (
const Date & date
) const;
Equality operator.
bool operator > (
const Date & date
) const;
Greater then operator.
int year() const;
Returns the year.