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