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

Click here to view the latest version of this page.
PrevUpHomeNext

Class hours

boost::posix_time::hours — Allows expression of durations as an hour count.

Synopsis

// In header: <boost/date_time/posix_time/posix_time_duration.hpp>


class hours : public boost::posix_time::time_duration {
public:
  // construct/copy/destruct
  explicit hours(long);
};

Description

hours public construct/copy/destruct

  1. explicit hours(long h);

PrevUpHomeNext