#include "boost/date_time/gregorian/gregorian_types.hpp"
#include "boost/date_time/date_parsing.hpp"
#include "boost/date_time/compiler_config.hpp"
#include "boost/date_time/parse_format_base.hpp"
#include <string>
#include <sstream>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::gregorian | |
Gregorian date system based on date_time components. | |
Functions | |
BOOST_DATE_TIME_DECL special_values | boost::gregorian::special_value_from_string (const std::string &s) |
Return special_value from string argument. More... | |
date | boost::gregorian::from_string (std::string s) |
Deprecated: Use from_simple_string. More... | |
date | boost::gregorian::from_simple_string (std::string s) |
From delimited date string where with order year-month-day eg: 2002-1-25 or 2003-Jan-25 (full month name is also accepted) More... | |
date | boost::gregorian::from_us_string (std::string s) |
From delimited date string where with order year-month-day eg: 1-25-2003 or Jan-25-2003 (full month name is also accepted) More... | |
date | boost::gregorian::from_uk_string (std::string s) |
From delimited date string where with order day-month-year eg: 25-1-2002 or 25-Jan-2003 (full month name is also accepted) More... | |
date | boost::gregorian::from_undelimited_string (std::string s) |
From iso type date string where with order year-month-day eg: 20020125. More... | |
date | boost::gregorian::date_from_iso_string (const std::string &s) |
From iso type date string where with order year-month-day eg: 20020125. More... | |
template<class iterator_type > | |
date | boost::gregorian::from_stream (iterator_type beg, iterator_type end) |
Stream should hold a date in the form of: 2002-1-25. Month number, abbrev, or name are accepted. More... | |
date_period | boost::gregorian::date_period_from_string (const std::string &s) |
Function to parse a date_period from a string (eg: [2003-Oct-31/2003-Dec-25]) More... | |
date_period | boost::gregorian::date_period_from_wstring (const std::wstring &s) |
Function to parse a date_period from a wstring (eg: [2003-Oct-31/2003-Dec-25]) More... | |