...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::gregorian::greg_durations_config — config struct for additional duration types (ie months_duration<> & years_duration<>)
// In header: <boost/date_time/gregorian/greg_duration_types.hpp> struct greg_durations_config { // types typedef date date_type; typedef date_time::int_adapter< int > int_rep; typedef date_time::month_functor< date_type > month_adjustor_type; };