| Home | Libraries | People | FAQ | More

## Class template simple_format

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

## Synopsis

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

2.     static const charT * pos_infinity() ;

3.     static const charT * neg_infinity() ;

4.     static month_format_spec month_format() ;

5.     static ymd_order_spec date_order() ;

6.     static bool has_date_sep_chars() ;

7.     static charT year_sep_char() ;

8.     static charT month_sep_char() ;

9.     static charT day_sep_char() ;

10.     static charT hour_sep_char() ;

11.     static charT minute_sep_char() ;

12.     static charT second_sep_char() ;

### Specializations

- Class simple_format<wchar_t>