Home | Libraries | People | FAQ | More |
boost::date_time::ymd_formatter — Convert ymd to a standard string formatting policies.
template<typename ymd_type, typename format_type, typename charT = char> class ymd_formatter { public: // public static functions std::basic_string< charT > ymd_to_string(ymd_type) ; std::string ymd_to_string(ymd_type) ; };
ymd_formatter
public static functionsstd::basic_string< charT > ymd_to_string(ymd_type ymd) ;
This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy
std::string ymd_to_string(ymd_type ymd) ;
This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy
Copyright © 2001-2005 CrystalClear Software, Inc |