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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class template month_formatter

boost::date_time::month_formatter — Formats a month as as string into an ostream.

Synopsis

template<typename month_type, typename format_type, typename charT = char> 
class month_formatter {
public:

  // public static functions
  std::basic_ostream< charT > & 
  format_month(const month_type &, std::basic_ostream< charT > &) ;
  std::ostream & format_month(const month_type &, std::ostream &) ;
};

Description

month_formatter public static functions

  1. std::basic_ostream< charT > & 
    format_month(const month_type & month, std::basic_ostream< charT > & os) ;

    This function demands that month_type provide functions for converting to short and long strings if that capability is used.

  2. std::ostream & format_month(const month_type & month, std::ostream & os) ;

    This function demands that month_type provide functions for converting to short and long strings if that capability is used.

Copyright © 2001-2005 CrystalClear Software, Inc

PrevUpHomeNext