3 #ifndef RDBC_TSQLTypes_h
4 #define RDBC_TSQLTypes_h
25 #ifdef ODBC_VER_LESS_30
53 TSQLDate(Int_t year, Int_t month, Int_t day);
63 Int_t
GetYear()
const {
return (fDatime>>26)+1995; }
64 Int_t
GetMonth()
const {
return (fDatime<<6)>>28; }
65 Int_t
GetDay()
const {
return (fDatime<<10)>>27; }
79 TSQLTime(Int_t hour, Int_t minute, Int_t second);
89 Int_t
GetHour()
const {
return (fDatime<<15)>>27; }
90 Int_t
GetMinute()
const {
return (fDatime<<20)>>26; }
91 Int_t
GetSecond()
const {
return (fDatime<<26)>>26; }
109 Int_t hour, Int_t minute, Int_t second, Int_t nanos =0)
110 {
Set(year,month,day,hour,minute,second);
SetNanos(nanos); }
120 Int_t
GetYear()
const {
return (fDatime>>26)+1995; }
121 Int_t
GetMonth()
const {
return (fDatime<<6)>>28; }
122 Int_t
GetDay()
const {
return (fDatime<<10)>>27; }
123 Int_t
GetHour()
const {
return (fDatime<<15)>>27; }
170 #endif // RDBC_TSQLTypes_h