| Home | Libraries | People | FAQ | More

## Class iso_format_base<wchar_t>

boost::date_time::iso_format_base<wchar_t> —

Class to provide common iso formatting spec.

## Synopsis

    class iso_format_base<wchar_t> {
    public:

      // public static functions
      month_format_spec month_format() ;
      const wchar_t * not_a_date() ;
      const wchar_t * pos_infinity() ;
      const wchar_t * neg_infinity() ;
      wchar_t year_sep_char() ;
      wchar_t month_sep_char() ;
      wchar_t day_sep_char() ;
      wchar_t hour_sep_char() ;
      wchar_t minute_sep_char() ;
      wchar_t second_sep_char() ;
      wchar_t period_start_char() ;
      wchar_t time_start_char() ;
      wchar_t week_start_char() ;
      wchar_t period_sep_char() ;
      wchar_t time_sep_char() ;
      wchar_t fractional_time_sep_char() ;
      bool is_component_sep(wchar_t) ;
      bool is_fractional_time_sep(wchar_t) ;
      bool is_timezone_sep(wchar_t) ;
      wchar_t element_sep_char() ;
    };

## Description

### `iso_format_base` public static functions

1.     month_format_spec month_format() ;

   Describe month format -- its an integer in iso format.

2.     const wchar_t * not_a_date() ;

   String used printed is date is invalid.

3.     const wchar_t * pos_infinity() ;

   String used to for positive infinity value.

4.     const wchar_t * neg_infinity() ;

   String used to for positive infinity value.

5.     wchar_t year_sep_char() ;

   ISO char for a year -- used in durations.

6.     wchar_t month_sep_char() ;

   ISO char for a month.

7.     wchar_t day_sep_char() ;

   ISO char for a day.

8.     wchar_t hour_sep_char() ;

   char for minute

9.     wchar_t minute_sep_char() ;

   char for minute

10.     wchar_t second_sep_char() ;

    char for second

11.     wchar_t period_start_char() ;

    ISO char for a period.

12.     wchar_t time_start_char() ;

    Used in time in mixed strings to set start of time.

13.     wchar_t week_start_char() ;

    Used in mixed strings to identify start of a week number.

14.     wchar_t period_sep_char() ;

    Separators for periods.

15.     wchar_t time_sep_char() ;

    Separator for hh:mm:ss.

16.     wchar_t fractional_time_sep_char() ;

    Preferred Separator for hh:mm:ss,decimal_fraction.

17.     bool is_component_sep(wchar_t sep) ;

18.     bool is_fractional_time_sep(wchar_t sep) ;

19.     bool is_timezone_sep(wchar_t sep) ;

20.     wchar_t element_sep_char() ;

| Copyright © 2001-2004 CrystalClear Software, Inc