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 simple_format<wchar_t>

boost::date_time::simple_format<wchar_t> —

Specialization of formmating rules for wchar_t.

Synopsis

class simple_format<wchar_t> {
public:

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

Description

simple_format public static functions

  1. const wchar_t * not_a_date() ;

    String used printed is date is invalid.

  2. const wchar_t * pos_infinity() ;

    String used to for positive infinity value.

  3. const wchar_t * neg_infinity() ;

    String used to for positive infinity value.

  4. month_format_spec month_format() ;

    Describe month format.

  5. ymd_order_spec date_order() ;
  6. bool has_date_sep_chars() ;

    This format uses '-' to separate date elements.

  7. wchar_t year_sep_char() ;

    Char to sep?

  8. wchar_t month_sep_char() ;

    char between year-month

  9. wchar_t day_sep_char() ;

    Char to separate month-day.

  10. wchar_t hour_sep_char() ;

    char between date-hours

  11. wchar_t minute_sep_char() ;

    char between hour and minute

  12. wchar_t second_sep_char() ;

    char for second

Copyright © 2001-2004 CrystalClear Software, Inc

PrevUpHomeNext