odbc::Time Class Reference
List of all members.
Detailed Description
An SQL TIME.
Definition at line 425 of file types.h.
|
Public Member Functions |
|
int | getHour () const |
| | Gets the hour of this time.
|
|
int | getHour () const |
| | Gets the hour of this time.
|
|
int | getMinute () const |
| | Gets the minute of this time.
|
|
int | getMinute () const |
| | Gets the minute of this time.
|
|
int | getSecond () const |
| | Gets the second of this time.
|
|
int | getSecond () const |
| | Gets the second of this time.
|
|
std::time_t | getTime () const |
| | Returns the time_t value of 1970-01-01 at this time.
|
|
std::time_t | getTime () const |
| | Returns the time_t value of 1970-01-01 at this time.
|
|
Time & | operator= (const Time &t) |
| | Assignment operator.
|
|
Time & | operator= (const Time &t) |
| | Assignment operator.
|
|
void | parse (const ODBCXX_STRING &str) |
| | Sets this time from a string in the HH:MM:SS format.
|
|
void | parse (const ODBCXX_STRING &str) |
| | Sets this time from a string in the HH:MM:SS format.
|
|
void | setHour (int h) |
| | Sets the hour of this time.
|
|
void | setHour (int h) |
| | Sets the hour of this time.
|
|
void | setMinute (int m) |
| | Sets the minute of this time.
|
|
void | setMinute (int m) |
| | Sets the minute of this time.
|
|
void | setSecond (int s) |
| | Sets the second of this time.
|
|
void | setSecond (int s) |
| | Sets the second of this time.
|
|
virtual void | setTime (std::time_t t) |
| | Sets the time to the specified time_t value.
|
|
virtual void | setTime (std::time_t t) |
| | Sets the time to the specified time_t value.
|
|
| Time (const Time &t) |
| | Copy constructor.
|
| | Time (const ODBCXX_STRING &str) |
| | Constructor.
|
| | Time (std::time_t t) |
| | Constructor.
|
| | Time () |
| | Constructor.
|
|
| Time (int hour, int minute, int second) |
| | Constructor.
|
|
| Time (const Time &t) |
| | Copy constructor.
|
| | Time (const ODBCXX_STRING &str) |
| | Constructor.
|
| | Time (std::time_t t) |
| | Constructor.
|
| | Time () |
| | Constructor.
|
|
| Time (int hour, int minute, int second) |
| | Constructor.
|
|
virtual | ~Time () |
| | Destructor.
|
|
virtual | ~Time () |
| | Destructor.
|
Constructor & Destructor Documentation
| odbc::Time::Time |
( |
|
) |
[explicit] |
Constructor.
Sets the time to now.
| odbc::Time::Time |
( |
std::time_t |
t |
) |
[inline] |
Constructor.
Sets the time to the specified time_t value.
Definition at line 472 of file types.h.
| odbc::Time::Time |
( |
const ODBCXX_STRING & |
str |
) |
[inline] |
Constructor.
Sets the time to the specified string in the HH:MM:SS format.
Definition at line 480 of file types.h.
| odbc::Time::Time |
( |
|
) |
[explicit] |
Constructor.
Sets the time to now.
| odbc::Time::Time |
( |
std::time_t |
t |
) |
[inline] |
Constructor.
Sets the time to the specified time_t value.
Definition at line 472 of file types.h.
| odbc::Time::Time |
( |
const ODBCXX_STRING & |
str |
) |
[inline] |
Constructor.
Sets the time to the specified string in the HH:MM:SS format.
Definition at line 480 of file types.h.
The documentation for this class was generated from the following files: