CLASS TEMPLAT(3)

NAME
boost::date_time::iso_format_base - Class to provide common iso formatting spec.

SYNOPSIS

// In header: <boost/date_time/iso_format.hpp>
template<typename charT>
class iso_format_base {
public:
  // public static functions
  static month_format_spec month_format();
  static const charT * not_a_date();
  static const charT * pos_infinity();
  static const charT * neg_infinity();
  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();
  static charT period_start_char();
  static charT time_start_char();
  static charT week_start_char();
  static charT period_sep_char();
  static charT time_sep_char();
  static charT fractional_time_sep_char();
  static bool is_component_sep(charT);
  static bool is_fractional_time_sep(charT);
  static bool is_timezone_sep(charT);
  static charT element_sep_char();
};

DESCRIPTION

  iso_format_base public static functions

    1.

    static month_format_spec month_format();
    Describe month format -- its an integer in iso format. .RE

        2.

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

            3.

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

                4.

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

                    5.

                    static charT year_sep_char();
                    ISO char for a year -- used in durations. .RE

                        6.

                        static charT month_sep_char();
                        ISO char for a month. .RE

                            7.

                            static charT day_sep_char();
                            ISO char for a day. .RE

                                8.

                                static charT hour_sep_char();
                                char for minute .RE

                                    9.

                                    static charT minute_sep_char();
                                    char for minute .RE

                                        10.

                                        static charT second_sep_char();
                                        char for second .RE

                                            11.

                                            static charT period_start_char();
                                            ISO char for a period. .RE

                                                12.

                                                static charT time_start_char();
                                                Used in time in mixed strings to set start of time. .RE

                                                    13.

                                                    static charT week_start_char();
                                                    Used in mixed strings to identify start of a week number. .RE

                                                        14.

                                                        static charT period_sep_char();
                                                        Separators for periods. .RE

                                                            15.

                                                            static charT time_sep_char();
                                                            Separator for hh:mm:ss. .RE

                                                                16.

                                                                static charT fractional_time_sep_char();
                                                                Preferred Separator for hh:mm:ss,decimal_fraction. .RE

                                                                    17.

                                                                    static bool is_component_sep(charT sep);

                                                                    18.

                                                                    static bool is_fractional_time_sep(charT sep);

                                                                    19.

                                                                    static bool is_timezone_sep(charT sep);

                                                                    20.

                                                                    static charT element_sep_char();

  Specializations

    &#8226; Class iso_format_base<wchar_t>