#include <RDBC/blob/master/include/RDBC/odbc++/types.h>
An SQL TIME
Definition at line 394 of file types.h.
View newest version in sPHENIX GitHub at line 394 of file types.h
odbc::Time::Time |
( |
int |
hour, |
|
|
int |
minute, |
|
|
int |
second |
|
) |
| |
|
inline |
Constructor
Definition at line 425 of file types.h.
View newest version in sPHENIX GitHub at line 425 of file types.h
Constructor.
Sets the time to now.
odbc::Time::Time |
( |
time_t |
t | ) |
|
|
inline |
Constructor.
Sets the time to the specified time_t
value.
Definition at line 441 of file types.h.
View newest version in sPHENIX GitHub at line 441 of file types.h
odbc::Time::Time |
( |
const Time & |
t | ) |
|
|
inline |
Copy constructor
Definition at line 454 of file types.h.
View newest version in sPHENIX GitHub at line 454 of file types.h
virtual odbc::Time::~Time |
( |
| ) |
|
|
inlinevirtual |
Destructor
Definition at line 468 of file types.h.
View newest version in sPHENIX GitHub at line 468 of file types.h
virtual void odbc::Time::_invalid |
( |
const char * |
what, |
|
|
int |
value |
|
) |
| |
|
protectedvirtual |
int odbc::Time::_validateHour |
( |
int |
h | ) |
|
|
inlineprotected |
Definition at line 402 of file types.h.
View newest version in sPHENIX GitHub at line 402 of file types.h
References h.
int odbc::Time::_validateMinute |
( |
int |
m | ) |
|
|
inlineprotected |
int odbc::Time::_validateSecond |
( |
int |
s | ) |
|
|
inlineprotected |
int odbc::Time::getHour |
( |
| ) |
const |
|
inline |
int odbc::Time::getMinute |
( |
| ) |
const |
|
inline |
int odbc::Time::getSecond |
( |
| ) |
const |
|
inline |
time_t odbc::Time::getTime |
( |
| ) |
const |
Time& odbc::Time::operator= |
( |
const Time & |
t | ) |
|
|
inline |
Sets this time from a string in the HH:MM:SS
format
void odbc::Time::setHour |
( |
int |
h | ) |
|
|
inline |
Sets the hour of this time
Definition at line 495 of file types.h.
View newest version in sPHENIX GitHub at line 495 of file types.h
void odbc::Time::setMinute |
( |
int |
m | ) |
|
|
inline |
Sets the minute of this time
Definition at line 500 of file types.h.
View newest version in sPHENIX GitHub at line 500 of file types.h
void odbc::Time::setSecond |
( |
int |
s | ) |
|
|
inline |
Sets the second of this time
Definition at line 505 of file types.h.
View newest version in sPHENIX GitHub at line 505 of file types.h
virtual void odbc::Time::setTime |
( |
time_t |
t | ) |
|
|
virtual |
Sets the time to the specified time_t
value
Reimplemented in odbc::Timestamp.
The documentation for this class was generated from the following file:
- RDBC/blob/master/include/RDBC/odbc++/types.h