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 to view this page for the latest version.
PrevUpHomeNext

Class template weeks_duration

boost::date_time::weeks_duration — Additional duration type that represents a number of n*7 days.

Synopsis

// In header: <boost/date_time/date_duration_types.hpp>

template<typename duration_config> 
class weeks_duration :
  public boost::date_time::date_duration< duration_config >
{
public:
  // construct/copy/destruct
  weeks_duration(typename duration_config::impl_type);
  weeks_duration(special_values);
};

Description

weeks_duration public construct/copy/destruct

  1. weeks_duration(typename duration_config::impl_type w);
  2. weeks_duration(special_values sv);

PrevUpHomeNext