5 using namespace oracle::occi;
12 PLUS_INF_DATE = maxDate();
13 PLUS_INF = dateToTm(PLUS_INF_DATE);
14 NEG_INF_DATE = minDate();
15 NEG_INF = dateToTm(NEG_INF_DATE);
25 struct tm ctm = inTm.
c_tm();
26 return Date(m_env, ctm.tm_year + 1900, ctm.tm_mon + 1, ctm.tm_mday,
27 ctm.tm_hour, ctm.tm_min, ctm.tm_sec);
44 date.getDate(year, mon, mday, hour, min, sec);
48 retTm.tm_year = year - 1900;
49 retTm.tm_mon = mon - 1;
oracle::occi::Date tmToDate(const Tm &inTm) const
Tm dateToTm(oracle::occi::Date &date) const