Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::month_formatter< month_type, format_type, charT > Class Template Reference

Formats a month as as string into an ostream. More...

#include <date_formatting_limited.hpp>

Static Public Member Functions

static ostream_type & format_month (const month_type &month, ostream_type &os)
 Formats a month as as string into an ostream. More...
 
static std::ostream & format_month (const month_type &month, std::ostream &os)
 Formats a month as as string into an ostream. More...
 

Detailed Description

template<class month_type, class format_type, class charT = char>
class boost::date_time::month_formatter< month_type, format_type, charT >

Formats a month as as string into an ostream.

Member Function Documentation

template<class month_type , class format_type , class charT = char>
static std::ostream& boost::date_time::month_formatter< month_type, format_type, charT >::format_month ( const month_type &  month,
std::ostream &  os 
)
inlinestatic

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.

References boost::date_time::month_as_integer, boost::date_time::month_as_long_string, and boost::date_time::month_as_short_string.

template<class month_type , class format_type , class charT = char>
static ostream_type& boost::date_time::month_formatter< month_type, format_type, charT >::format_month ( const month_type &  month,
ostream_type &  os 
)
inlinestatic

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.

References boost::date_time::month_as_integer, boost::date_time::month_as_long_string, and boost::date_time::month_as_short_string.

Referenced by boost::date_time::ymd_formatter< ymd_type, format_type, charT >::ymd_to_string().


The documentation for this class was generated from the following files: