CLASS TEMPLATE(3)

NAME
boost::date_time::simple_format - Class to provide simple basic formatting rules.

SYNOPSIS

// 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();
};

DESCRIPTION

  simple_format public static functions

    1.

    static const charT * not_a_date();
    String used printed is date is invalid. .RE

        2.

        static const charT * pos_infinity();
        String used to for positive infinity value. .RE

            3.

            static const charT * neg_infinity();
            String used to for positive infinity value. .RE

                4.

                static month_format_spec month_format();
                Describe month format. .RE

                    5.

                    static ymd_order_spec date_order();

                    6.

                    static bool has_date_sep_chars();
                    This format uses '-' to separate date elements. .RE

                        7.

                        static charT year_sep_char();
                        Char to sep? .RE

                            8.

                            static charT month_sep_char();
                            char between year-month .RE

                                9.

                                static charT day_sep_char();
                                Char to separate month-day. .RE

                                    10.

                                    static charT hour_sep_char();
                                    char between date-hours .RE

                                        11.

                                        static charT minute_sep_char();
                                        char between hour and minute .RE

                                            12.

                                            static charT second_sep_char();
                                            char for second .RE

  Specializations

    &#8226; Class simple_format<wchar_t>