1 #ifndef __STDAIR_BAS_BASCOMPARSERHELPERTYPES_HPP
2 #define __STDAIR_BAS_BASCOMPARSERHELPERTYPES_HPP
22 template <
int MIN = 0,
int MAX = 0>
35 if (_value < MIN || _value > MAX) {
36 std::ostringstream oMessage;
37 oMessage <<
"The value: " << _value <<
" is out of range ("
38 << MIN <<
", " << MAX <<
")";
45 template <
int MIN,
int MAX>
46 inline date_time_element<MIN,
53 template <
int MIN,
int MAX>
54 inline date_time_element<MIN,
69 #endif // __STDAIR_BAS_BASCOMPARSERHELPERTYPES_HPP
date_time_element< MIN, MAX > operator*(const date_time_element< MIN, MAX > &o1, const date_time_element< MIN, MAX > &o2)
date_time_element< 1, 31 > day_t
Handle on the StdAir library context.
date_time_element< 1, 12 > month_t
date_time_element(const date_time_element &t)
date_time_element< MIN, MAX > operator+(const date_time_element< MIN, MAX > &o1, const date_time_element< MIN, MAX > &o2)
date_time_element< 0, 59 > second_t
date_time_element< 0, 59 > minute_t
date_time_element< 1900, 2100 > year_t
date_time_element< 0, 23 > hour_t