Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::ymd_formatter< ymd_type, format_type, charT > Class Template Reference

Convert ymd to a standard string formatting policies. More...

#include <date_formatting_limited.hpp>

Static Public Member Functions

static std::basic_string< charT > ymd_to_string (ymd_type ymd)
 Convert ymd to a standard string formatting policies. More...
 
static std::string ymd_to_string (ymd_type ymd)
 Convert ymd to a standard string formatting policies. More...
 

Detailed Description

template<class ymd_type, class format_type, class charT = char>
class boost::date_time::ymd_formatter< ymd_type, format_type, charT >

Convert ymd to a standard string formatting policies.

Member Function Documentation

template<class ymd_type , class format_type , class charT = char>
static std::string boost::date_time::ymd_formatter< ymd_type, format_type, charT >::ymd_to_string ( ymd_type  ymd)
inlinestatic

Convert ymd to a standard string formatting policies.

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

References boost::date_time::month_formatter< month_type, format_type, charT >::format_month().

template<class ymd_type , class format_type , class charT = char>
static std::basic_string<charT> boost::date_time::ymd_formatter< ymd_type, format_type, charT >::ymd_to_string ( ymd_type  ymd)
inlinestatic

Convert ymd to a standard string formatting policies.

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

References boost::date_time::month_formatter< month_type, format_type, charT >::format_month().

Referenced by boost::date_time::date_formatter< date_type, format_type, charT >::date_to_string().


The documentation for this class was generated from the following files: