...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::iso_format_base<wchar_t> — Class to provide common iso formatting spec.
// In header: <boost/date_time/iso_format.hpp> class iso_format_base<wchar_t> { public: // public static functions static month_format_spec month_format(); static const wchar_t * not_a_date(); static const wchar_t * pos_infinity(); static const wchar_t * neg_infinity(); 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(); static wchar_t period_start_char(); static wchar_t time_start_char(); static wchar_t week_start_char(); static wchar_t period_sep_char(); static wchar_t time_sep_char(); static wchar_t fractional_time_sep_char(); static bool is_component_sep(wchar_t); static bool is_fractional_time_sep(wchar_t); static bool is_timezone_sep(wchar_t); static wchar_t element_sep_char(); };
iso_format_base
public static functionsstatic month_format_spec month_format();Describe month format – its an integer in iso format.
static 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 wchar_t year_sep_char();ISO char for a year – used in durations.
static wchar_t month_sep_char();ISO char for a month.
static wchar_t day_sep_char();ISO char for a day.
static wchar_t hour_sep_char();char for minute
static wchar_t minute_sep_char();char for minute
static wchar_t second_sep_char();char for second
static wchar_t period_start_char();ISO char for a period.
static wchar_t time_start_char();Used in time in mixed strings to set start of time.
static wchar_t week_start_char();Used in mixed strings to identify start of a week number.
static wchar_t period_sep_char();Separators for periods.
static wchar_t time_sep_char();Separator for hh:mm:ss.
static wchar_t fractional_time_sep_char();Preferred Separator for hh:mm:ss,decimal_fraction.
static bool is_component_sep(wchar_t sep);
static bool is_fractional_time_sep(wchar_t sep);
static bool is_timezone_sep(wchar_t sep);
static wchar_t element_sep_char();