Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template date_input_facet

boost::date_time::date_input_facet — Input facet.

Synopsis

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

template<typename date_type, typename CharT, 
         typename InItrT> 
class date_input_facet : public  {
public:
  // types
  typedef                                     ;             
  typedef                                  ;          
  typedef                                          ;                  
  typedef                                        ;                
  typedef                                         ;                 
  typedef boost::date_time::period<         ;               
  typedef                                   ;               
  typedef                                                        ;                 
  typedef boost::date_time::period_parser<          ;        
  typedef boost::date_time::special_values_parser<  ;
  typedef                    ;     
  typedef format_date_parser<                       ;   
  typedef date_generator_parser<                    ;      
  typedef partial_date<                                    ;         
  typedef nth_kday_of_month<                               ;             
  typedef first_kday_of_month<                             ;           
  typedef last_kday_of_month<                              ;            
  typedef first_kday_after<                                ;           
  typedef first_kday_before<                               ;          

  // construct/copy/destruct
  (:: = );
  (, :: = );
  (, 
                            format_date_parser_type &, 
                            special_values_parser_type &, 
                            period_parser_type &, 
                            date_gen_parser_type &, :: = );

  // public member functions
   ();
   ();
   ();
   ();
   ();
   ();
   (period_parser_type);
   ();
   ();
   ();
   ();
   ();
   (, , 
                                , , 
                                , , 
                                , , 
                                );
   (special_values_parser_type);
   (, , , ) ;
   (, , , ) ;
   (, , , ) ;
   (, , , ) ;
   (, , , ) ;
   (, , , ) ;
   (, , , period_type &) ;
   (, , , nth_kday_type &) ;
   (, , , partial_date_type &) ;
   (, , , first_kday_type &) ;
   (, , , last_kday_type &) ;
   (, , , kday_before_type &) ;
   (, , , kday_after_type &) ;

  // public data members
  static  long_weekday_format;
  static  short_weekday_format;
  static  long_month_format;
  static  short_month_format;
  static  four_digit_year_format;
  static  two_digit_year_format;
  static  default_period_separator;
  static  standard_format_specifier;
  static  iso_format_specifier;
  static  iso_format_extended_specifier;
  static  default_date_format;
  static  id;
};

Description

date_input_facet public construct/copy/destruct

  1. (:: a_ref = );
  2. ( format_str, :: a_ref = );
  3. ( format_str, 
                              format_date_parser_type & date_parser, 
                              special_values_parser_type & sv_parser, 
                              period_parser_type & per_parser, 
                              date_gen_parser_type & date_gen_parser, 
                              :: ref_count = );

date_input_facet public member functions

  1.  ( format_str);
  2.  ();
  3.  ();
  4.  ( format_str);
  5.  ( format_str);
  6.  ( format_str);
  7.  (period_parser_type per_parser);
  8.  ( weekday_names);
  9.  ( weekday_names);
  10.  ( month_names);
  11.  ( month_names);
  12.  ( col);
  13.  ( first, 
                                   second, 
                                   third, 
                                   fourth, 
                                   fifth, 
                                   last, 
                                   before, 
                                   after, 
                                   of);
  14.  (special_values_parser_type sv_parser);
  15.  ( from,  to, ,  d) ;
  16.  ( from,  to, ,  m) ;
  17.  ( from,  to, ,  wd) ;
  18.  ( from,  to, ,  d) ;
    Expects 1 or 2 digit day range: 1-31.
  19.  ( from,  to, ,  y) ;
  20.  ( from,  to,  a_ios, 
                dd) ;
  21.  ( from,  to,  a_ios, period_type & p) ;
  22.  ( from,  to,  a_ios, 
               nth_kday_type & nkd) ;
  23.  ( from,  to,  a_ios, 
               partial_date_type & pd) ;
  24.  ( from,  to,  a_ios, 
               first_kday_type & fkd) ;
  25.  ( from,  to,  a_ios, 
               last_kday_type & lkd) ;
  26.  ( from,  to,  a_ios, 
               kday_before_type & fkb) ;
  27.  ( from,  to,  a_ios, 
               kday_after_type & fka) ;

PrevUpHomeNext