#include <datetime.h>
Inheritance diagram for mysqlpp::Date:
Public Methods | |
Date () | |
Default constructor. | |
Date (cchar *str) | |
Initialize object from a MySQL date string. | |
Date (const ColData &str) | |
Initialize object from a MySQL date string. | |
Date (const std::string &str) | |
Initialize object from a MySQL date string. | |
short int | compare (const Date &other) const |
Compare this date to another. |
Objects of this class can be inserted into streams, and initialized from MySQL DATE strings.
|
Initialize object from a MySQL date string. String must be in the YYYY-MM-DD format. It doesn't have to be zero-padded. |
|
Initialize object from a MySQL date string.
|
|
Initialize object from a MySQL date string.
|
|
Compare this date to another.
Implements mysqlpp::DTbase< Date >. |