#include <time.hh>
Inheritance diagram for uesqlc::TTime:
Public Methods | |
TTime (void) | |
Builds a new instance. | |
TTime (const TTime &rktTIME) | |
Builds a new instance from another instance. | |
TTime (const int kiHOUR, const int kiMINUTE, const int kiSECOND) | |
void * | getBuffer (const std::size_t kzSIZE) |
void | set (const char *pkcVALUE) |
void | set (const std::string &rkyVALUE) |
mpcl::text::TString | get (void) const |
mpcl::text::TString | get (const char *pkcTIME_FORMAT) const |
Definition at line 41 of file time.hh.
|
Builds a new instance. It builds the instance with an useless valid date to let the base class 'mpcl::text::TLocalDate' be used.
Definition at line 73 of file time.hh. References uesqlc::IType::setNull(), and mpcl::text::TLocalDate::TLocalDate(). |
|
Returns time in SQL format.
Reimplemented from mpcl::text::TLocalDate. Definition at line 151 of file time.hh. References uesqlc::IType::isNull(). |
|
Returns a string with the value of the instance. If the instance holds a null value, then the string 'NULL' will be printed.
Implements uesqlc::IType. Definition at line 128 of file time.hh. References uesqlc::IType::isNull(). |
|
Reserves a buffer kzSIZE octets length, to let somebody store a time as a zero-terminated string of chars.
|
|
Assigns value rkyVALUE. If rkyVALUE is empty, then the instance is null.
Definition at line 116 of file time.hh. References set(). |
|
Assigns value pkcVALUE. If pkcVALUE is null or points to a zero length string, then the instance is null.
Implements uesqlc::IType. Definition at line 33 of file time.cc. References uesqlc::IType::isNull(), and uesqlc::IType::setNull(). Referenced by set(). |