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 ptime

boost::posix_time::ptime — Time type with no timezone or other adjustments.

Synopsis

class ptime {
public:
// types
typedef posix_time_system time_system_type;
typedef time_system_type::time_rep_type time_rep_type;
typedef time_system_type::time_duration_type time_duration_type;
typedef ptime time_type;

// construct/copy/destruct
ptime(gregorian::date, time_duration_type);
ptime(gregorian::date);
ptime(const time_rep_type &);
ptime(const special_values);
ptime();
};

Description

ptime construct/copy/destruct

  1. ptime(gregorian::date d, time_duration_type td);
  2. ptime(gregorian::date d);
  3. ptime(const time_rep_type & rhs);
  4. ptime(const special_values sv);
  5. ptime();
Copyright 2001-2005 CrystalClear Software, Inc

PrevUpHomeNext