Convert ymd to a standard string formatting policies. More...
#include <date_formatting_locales.hpp>
Public Types | |
typedef ymd_type::month_type | month_type |
typedef ostream_month_formatter < facet_type, charT > | month_formatter_type |
typedef std::basic_ostream< charT > | ostream_type |
typedef std::basic_string< charT > | foo_type |
Static Public Member Functions | |
static void | ymd_put (ymd_type ymd, ostream_type &os, const facet_type &f) |
Convert ymd to a standard string formatting policies. More... | |
Convert ymd to a standard string formatting policies.
typedef std::basic_string<charT> boost::date_time::ostream_ymd_formatter< ymd_type, facet_type, charT >::foo_type |
typedef ostream_month_formatter<facet_type, charT> boost::date_time::ostream_ymd_formatter< ymd_type, facet_type, charT >::month_formatter_type |
typedef ymd_type::month_type boost::date_time::ostream_ymd_formatter< ymd_type, facet_type, charT >::month_type |
typedef std::basic_ostream<charT> boost::date_time::ostream_ymd_formatter< ymd_type, facet_type, charT >::ostream_type |
|
inlinestatic |
Convert ymd to a standard string formatting policies.
This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy
References boost::date_time::ostream_month_formatter< facet_type, charT >::format_month(), boost::date_time::ymd_order_dmy, boost::date_time::ymd_order_iso, and boost::date_time::ymd_order_us.
Referenced by boost::date_time::ostream_date_formatter< date_type, facet_type, charT >::date_put().