$treeview $search $mathjax
00001 #ifndef __STDAIR_STDAIR_DATE_TIME_TYPES_HPP 00002 #define __STDAIR_STDAIR_DATE_TIME_TYPES_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // Boost (Extended STL) 00010 #include <boost/date_time/gregorian/gregorian.hpp> 00011 #include <boost/date_time/posix_time/posix_time.hpp> 00012 00013 namespace stdair { 00014 00015 // //////// Type definitions ///////// 00017 typedef boost::posix_time::time_duration Duration_T; 00018 00020 typedef boost::gregorian::date Date_T; 00021 00023 typedef boost::posix_time::time_duration Time_T; 00024 00026 typedef boost::posix_time::ptime DateTime_T; 00027 00029 typedef boost::gregorian::date_period DatePeriod_T; 00030 00032 typedef std::string DOW_String_T; 00033 00035 typedef boost::gregorian::date_duration DateOffset_T; 00036 00038 typedef int DayDuration_T; 00039 00041 typedef bool SaturdayStay_T; 00042 00044 typedef long int IntDuration_T; 00045 00047 typedef long long int LongDuration_T; 00048 00050 typedef float FloatDuration_T; 00051 00052 } 00053 #endif // __STDAIR_STDAIR_DATE_TIME_TYPES_HPP