Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class iso_format_base<wchar_t>

boost::date_time::iso_format_base<wchar_t> — Class to provide common iso formatting spec.

Synopsis

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

Description

iso_format_base public static functions

  1. static month_format_spec month_format();
    Describe month format – its an integer in iso format.
  2. static const wchar_t * not_a_date();
    String used printed is date is invalid.
  3. static const wchar_t * pos_infinity();
    String used to for positive infinity value.
  4. static const wchar_t * neg_infinity();
    String used to for positive infinity value.
  5. static wchar_t year_sep_char();
    ISO char for a year – used in durations.
  6. static wchar_t month_sep_char();
    ISO char for a month.
  7. static wchar_t day_sep_char();
    ISO char for a day.
  8. static wchar_t hour_sep_char();
    char for minute
  9. static wchar_t minute_sep_char();
    char for minute
  10. static wchar_t second_sep_char();
    char for second
  11. static wchar_t period_start_char();
    ISO char for a period.
  12. static wchar_t time_start_char();
    Used in time in mixed strings to set start of time.
  13. static wchar_t week_start_char();
    Used in mixed strings to identify start of a week number.
  14. static wchar_t period_sep_char();
    Separators for periods.
  15. static wchar_t time_sep_char();
    Separator for hh:mm:ss.
  16. static wchar_t fractional_time_sep_char();
    Preferred Separator for hh:mm:ss,decimal_fraction.
  17. static bool is_component_sep(wchar_t sep);
  18. static bool is_fractional_time_sep(wchar_t sep);
  19. static bool is_timezone_sep(wchar_t sep);
  20. static wchar_t element_sep_char();

PrevUpHomeNext