![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::ostream_ymd_formatter — Convert ymd to a standard string formatting policies.
// In header: <boost/date_time/date_formatting_locales.hpp> template<typename ymd_type, typename facet_type, typename charT> class ostream_ymd_formatter { public: // types typedef ; typedef ostream_month_formatter< ; typedef ; typedef ; // public static functions (, , ); };
ostream_ymd_formatter
public static functions( ymd, os, f);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