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 template iso_format_base

boost::date_time::iso_format_base —

Class to provide common iso formatting spec.

Synopsis

template<typename charT> 
class iso_format_base {
public:

  // public static functions
  month_format_spec month_format() ;
  const charT * not_a_date() ;
  const charT * pos_infinity() ;
  const charT * neg_infinity() ;
  charT year_sep_char() ;
  charT month_sep_char() ;
  charT day_sep_char() ;
  charT hour_sep_char() ;
  charT minute_sep_char() ;
  charT second_sep_char() ;
  charT period_start_char() ;
  charT time_start_char() ;
  charT week_start_char() ;
  charT period_sep_char() ;
  charT time_sep_char() ;
  charT fractional_time_sep_char() ;
  bool is_component_sep(charT) ;
  bool is_fractional_time_sep(charT) ;
  bool is_timezone_sep(charT) ;
  charT 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 charT * not_a_date() ;

    String used printed is date is invalid.

  3. const charT * pos_infinity() ;

    String used to for positive infinity value.

  4. const charT * neg_infinity() ;

    String used to for positive infinity value.

  5. charT year_sep_char() ;

    ISO char for a year -- used in durations.

  6. charT month_sep_char() ;

    ISO char for a month.

  7. charT day_sep_char() ;

    ISO char for a day.

  8. charT hour_sep_char() ;

    char for minute

  9. charT minute_sep_char() ;

    char for minute

  10. charT second_sep_char() ;

    char for second

  11. charT period_start_char() ;

    ISO char for a period.

  12. charT time_start_char() ;

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

  13. charT week_start_char() ;

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

  14. charT period_sep_char() ;

    Separators for periods.

  15. charT time_sep_char() ;

    Separator for hh:mm:ss.

  16. charT fractional_time_sep_char() ;

    Preferred Separator for hh:mm:ss,decimal_fraction.

  17. bool is_component_sep(charT sep) ;
  18. bool is_fractional_time_sep(charT sep) ;
  19. bool is_timezone_sep(charT sep) ;
  20. charT element_sep_char() ;
Copyright © 2001-2004 CrystalClear Software, Inc

PrevUpHomeNext