Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template ostream_date_formatter

boost::date_time::ostream_date_formatter — Convert a date to string using format policies.

Synopsis

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

template<typename date_type, typename facet_type, typename charT = char> 
class ostream_date_formatter {
public:
  // types
  typedef charT > ;
  typedef          ;    

  // public static functions
  void (const , , const facet_type &);
  void (const , );
};

Description

ostream_date_formatter public static functions

  1. void (const  d,  os, 
                         const facet_type & f);
    Put date into an ostream.
  2. void (const  d,  os);
    Put date into an ostream.

PrevUpHomeNext