| Home | Libraries | People | FAQ | More

## Class simple_format<wchar_t>

boost::date_time::simple_format<wchar_t> — Specialization of formmating rules for wchar_t.

## Synopsis

    // In header: <boost/date_time/date_format_simple.hpp>

    class simple_format<wchar_t> {
    public:

      // public static functions
      static const wchar_t * not_a_date();
      static const wchar_t * pos_infinity();
      static const wchar_t * neg_infinity();
      static month_format_spec month_format();
      static ymd_order_spec date_order();
      static bool has_date_sep_chars();
      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();
    };

## Description

### `simple_format` public static functions

1.     static const wchar_t * not_a_date();

   String used printed is date is invalid.

2.     static const wchar_t * pos_infinity();

   String used to for positive infinity value.

3.     static const wchar_t * neg_infinity();

   String used to for positive infinity value.

4.     static month_format_spec month_format();

   Describe month format.

5.     static ymd_order_spec date_order();

6.     static bool has_date_sep_chars();

   This format uses '-' to separate date elements.

7.     static wchar_t year_sep_char();

   Char to sep?

8.     static wchar_t month_sep_char();

   char between year-month

9.     static wchar_t day_sep_char();

   Char to separate month-day.

10.     static wchar_t hour_sep_char();

    char between date-hours

11.     static wchar_t minute_sep_char();

    char between hour and minute

12.     static wchar_t second_sep_char();

    char for second