Boost C++ Libraries 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 for the latest Boost documentation.

Class template ostream_time_period_formatter

boost::date_time::ostream_time_period_formatter — Put a time period into a stream using appropriate facets.


template<typename time_period_type, typename charT = char> 
class ostream_time_period_formatter {
// types
typedef std::basic_ostream< charT > ostream_type;
typedef time_period_type::point_type time_type;
typedef ostream_time_formatter< time_type, charT > time_formatter;

// public static functions
void period_put(const time_period_type &, ostream_type &) ;


ostream_time_period_formatter public static functions

  1. void period_put(const time_period_type & tp, ostream_type & os) ;
Copyright 2001-2005 CrystalClear Software, Inc