Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class ptime

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

Synopsis

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


class ptime : public  {
public:
  // types
  typedef                     ;  
  typedef       ;     
  typedef  ;
  typedef ptime                                ;         

  // construct/copy/destruct
  (, );
  ();
  ();
  ();
  ();
};

Description

ptime public construct/copy/destruct

  1. ( d,  td);
    Construct with date and offset in day.
  2. ( d);
    Construct a time at start of the given day (midnight)
  3. ( rhs);
    Copy from time_rep.
  4. ( sv);
    Construct from special value.
  5. ();

PrevUpHomeNext