![]() |
Home | Libraries | People | FAQ | More |
boost::gregorian::date_duration — Durations in days for gregorian system.
// In header: <boost/date_time/gregorian/greg_duration.hpp> class date_duration : public { public: // types typedef ; // public member functions ( = ); (); (); () ; () ; () ; () ; () ; () ; (); (); () ; (); // public static functions (); };
date_duration public member functions( day_count = );Construct from a day count.
( sv);construct from special_values
( other);Construct from another date_duration.
( rhs) ;
( rhs) ;
( rhs) ;
( rhs) ;
( rhs) ;
( rhs) ;
( rhs);Subtract another duration – result is signed.
( rhs);Add a duration – result is signed.
() ;unary- Allows for dd = -date_duration(2); -> dd == -2
( divisor);Division operations on a duration with an integer.