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>
class month_formatter {
public:
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
- <
staticstd::ostream&
format_month(constmonth_type&month,std::ostream&os);
>Формирует месяц как нить в поток.Для этой функции требуется, чтобы в случае использования этой возможности функции для преобразования в короткие и длинные строки предоставляли функции типа month_type.
- <
staticostream_type&
format_month(constmonth_type&month,ostream_type&os);
>Форматируется в месяц как струна в поток.Для этой функции требуется, чтобы в случае использования этой возможности функции для преобразования в короткие и длинные строки предоставляли функции типа month_type.