Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class weeks_duration

boost::gregorian::weeks_duration

Synopsis

// In header: <boost/date_time/gregorian/greg_duration_types.hpp>


class weeks_duration : public boost::gregorian::date_duration {
public:
  // construct/copy/destruct
  weeks_duration(duration_rep);
  weeks_duration(date_time::special_values);
};

Description

weeks_duration public construct/copy/destruct

  1. weeks_duration(duration_rep w);
  2. weeks_duration(date_time::special_values sv);

PrevUpHomeNext