#include <RDBC/blob/master/include/RDBC/odbc++/types.h>
An SQL DATE
Definition at line 276 of file types.h.
View newest version in sPHENIX GitHub at line 276 of file types.h
odbc::Date::Date |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day |
|
) |
| |
|
inline |
Constructor.
Definition at line 305 of file types.h.
View newest version in sPHENIX GitHub at line 305 of file types.h
Constructor.
Sets this date to today.
odbc::Date::Date |
( |
time_t |
t | ) |
|
|
inline |
Constructor.
Sets this date to the specified time_t value.
Definition at line 321 of file types.h.
View newest version in sPHENIX GitHub at line 321 of file types.h
odbc::Date::Date |
( |
const Date & |
d | ) |
|
|
inline |
Copy constructor
Definition at line 334 of file types.h.
View newest version in sPHENIX GitHub at line 334 of file types.h
virtual odbc::Date::~Date |
( |
| ) |
|
|
inlinevirtual |
Destructor
Definition at line 348 of file types.h.
View newest version in sPHENIX GitHub at line 348 of file types.h
virtual void odbc::Date::_invalid |
( |
const char * |
what, |
|
|
int |
value |
|
) |
| |
|
protectedvirtual |
int odbc::Date::_validateDay |
( |
int |
d | ) |
|
|
inlineprotected |
Definition at line 295 of file types.h.
View newest version in sPHENIX GitHub at line 295 of file types.h
int odbc::Date::_validateMonth |
( |
int |
m | ) |
|
|
inlineprotected |
int odbc::Date::_validateYear |
( |
int |
y | ) |
|
|
inlineprotected |
Definition at line 284 of file types.h.
View newest version in sPHENIX GitHub at line 284 of file types.h
References y.
int odbc::Date::getDay |
( |
| ) |
const |
|
inline |
int odbc::Date::getMonth |
( |
| ) |
const |
|
inline |
time_t odbc::Date::getTime |
( |
| ) |
const |
int odbc::Date::getYear |
( |
| ) |
const |
|
inline |
Date& odbc::Date::operator= |
( |
const Date & |
d | ) |
|
|
inline |
Sets this date from a string in the YYYY-MM-DD
format
void odbc::Date::setDay |
( |
int |
day | ) |
|
|
inline |
Sets the day of this date
Definition at line 385 of file types.h.
View newest version in sPHENIX GitHub at line 385 of file types.h
void odbc::Date::setMonth |
( |
int |
month | ) |
|
|
inline |
Sets the month of this date
Definition at line 380 of file types.h.
View newest version in sPHENIX GitHub at line 380 of file types.h
virtual void odbc::Date::setTime |
( |
time_t |
t | ) |
|
|
virtual |
Sets this date to the specified time_t value
Reimplemented in odbc::Timestamp.
void odbc::Date::setYear |
( |
int |
year | ) |
|
|
inline |
Sets the year of this date
Definition at line 375 of file types.h.
View newest version in sPHENIX GitHub at line 375 of file types.h
Gets the date as a string in the YYYY-MM-DD
format
Reimplemented in odbc::Timestamp.
The documentation for this class was generated from the following file:
- RDBC/blob/master/include/RDBC/odbc++/types.h