...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::date_time::simple_format<wchar_t> — Specialization of formmating rules for wchar_t.
// In header: <boost/date_time/date_format_simple.hpp> class simple_format<wchar_t> { public: // public static functions static const wchar_t * not_a_date() ; static const wchar_t * pos_infinity() ; static const wchar_t * neg_infinity() ; static month_format_spec month_format() ; static ymd_order_spec date_order() ; static bool has_date_sep_chars() ; static wchar_t year_sep_char() ; static wchar_t month_sep_char() ; static wchar_t day_sep_char() ; static wchar_t hour_sep_char() ; static wchar_t minute_sep_char() ; static wchar_t second_sep_char() ; };
simple_format
public static functionsstatic const wchar_t * not_a_date() ;String used printed is date is invalid.
static const wchar_t * pos_infinity() ;String used to for positive infinity value.
static const wchar_t * neg_infinity() ;String used to for positive infinity value.
static month_format_spec month_format() ;Describe month format.
static ymd_order_spec date_order() ;
static bool has_date_sep_chars() ;This format uses '-' to separate date elements.
static wchar_t year_sep_char() ;Char to sep?
static wchar_t month_sep_char() ;char between year-month
static wchar_t day_sep_char() ;Char to separate month-day.
static wchar_t hour_sep_char() ;char between date-hours
static wchar_t minute_sep_char() ;char between hour and minute
static wchar_t second_sep_char() ;char for second