| Home | Libraries | People | FAQ | More

## Class template month_formatter

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

## Synopsis

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

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

      // public static functions
      static std::ostream & format_month(const month_type &, std::ostream &);
      static ostream_type & format_month(const month_type &, ostream_type &);
    };

## Description

### `month_formatter` public static functions

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

   Formats a month as as string into an ostream.

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

2.     static ostream_type &
       format_month(const month_type & month, ostream_type & os);

   Formats a month as as string into an ostream.

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