#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>
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... | |