Home | Libraries | People | FAQ | More |
boost::date_time::simple_format — Class to provide simple basic formatting rules.
// In header: <boost/date_time/date_format_simple.hpp> template<typename charT> class simple_format { public: // public static functions static const charT * not_a_date(); static const charT * pos_infinity(); static const charT * neg_infinity(); static month_format_spec month_format(); static ymd_order_spec date_order(); static bool has_date_sep_chars(); static charT year_sep_char(); static charT month_sep_char(); static charT day_sep_char(); static charT hour_sep_char(); static charT minute_sep_char(); static charT second_sep_char(); };
simple_format
public static functionsstatic const charT * not_a_date();String used printed is date is invalid.
static const charT * pos_infinity();String used to for positive infinity value.
static const charT * 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 charT year_sep_char();Char to sep?
static charT month_sep_char();char between year-month
static charT day_sep_char();Char to separate month-day.
static charT hour_sep_char();char between date-hours
static charT minute_sep_char();char between hour and minute
static charT second_sep_char();char for second