Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
conversion.hpp File Reference
#include <cstring>
#include <string>
#include <stdexcept>
#include <boost/throw_exception.hpp>
#include <boost/date_time/c_time.hpp>
#include <boost/date_time/special_defs.hpp>
#include <boost/date_time/gregorian/gregorian_types.hpp>
Include dependency graph for conversion.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gregorian
 Gregorian date system based on date_time components.
 

Functions

std::tm boost::gregorian::to_tm (const date &d)
 Converts a date to a tm struct. Throws out_of_range exception if date is a special value. More...
 
date boost::gregorian::date_from_tm (const std::tm &datetm)
 Converts a tm structure into a date dropping the any time values. More...