#include <datetime.h>
Inheritance diagram for mysqlpp::mysql_time:
Public Methods | |
std::ostream & | out_stream (std::ostream &os) const |
Insert the time into a stream. | |
cchar * | convert (cchar *) |
Parse a MySQL time string into this object. | |
Public Attributes | |
tiny_int | hour |
hour, 0-23 | |
tiny_int | minute |
minute, 0-59 | |
tiny_int | second |
second, 0-59 | |
Protected Methods | |
short int | compare (const mysql_time *other) const |
Compare this time to another. |
|
Compare this time to another. Returns < 0 if this time is before the other, 0 of they are equal, and > 0 if this time is after the other. This method is protected because it is merely the engine used by the various operators in DTbase. |
|
Insert the time into a stream. The format is HH:MM:SS, zero-padded.
Reimplemented in mysqlpp::DateTime. |