![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::date_names_put — Output facet base class for gregorian dates.
// In header: <boost/date_time/date_names_put.hpp> template<typename Config, typename charT, typename OutputIterator> class date_names_put : public { public: // types typedef ; typedef ; typedef ; typedef ; typedef ; typedef ; typedef ; // construct/copy/destruct (); // public member functions () ; (, ) ; (, ) ; (, ) ; (, ) ; (, ) ; () ; () ; () ; () ; () ; () ; // protected member functions (, ) ; (, ) ; (, ) ; (, ) ; (, ) ; () ; () ; () ; () ; () ; () ; (, ) ; (, ) ; // public data members static default_special_value_names; static separator; static id; // Generate storage location for a std::locale::id. };
This class is a base class for date facets used to localize the names of months and the names of days in the week.
Requirements of Config
define an enumeration month_enum that enumerates the months. The enumeration should be '1' based eg: Jan==1
define as_short_string and as_long_string
(see langer & kreft p334).
date_names_put
protected member functions( oitr, moy) ;Default facet implementation uses month_type defaults.
( oitr, moy) ;Default facet implementation uses month_type defaults.
( oitr, sv) ;Default facet implementation for special value types.
(, ) ;
(, ) ;
() ;
( oitr) ;
( oitr) ;char between year-month
( oitr) ;Char to separate month-day.
() ;Default for date order.
() ;Default month format.
( oi, s) ;
( oi, s1) ;