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::year_functor< date_type > Class Template Reference

Functor to iterate by a year adjusting for leap years. More...

#include <adjust_functors.hpp>

Public Types

typedef date_type::duration_type duration_type
 

Public Member Functions

 year_functor (int f)
 
duration_type get_offset (const date_type &d) const
 
duration_type get_neg_offset (const date_type &d) const
 

Detailed Description

template<class date_type>
class boost::date_time::year_functor< date_type >

Functor to iterate by a year adjusting for leap years.

Member Typedef Documentation

template<class date_type >
typedef date_type::duration_type boost::date_time::year_functor< date_type >::duration_type

Constructor & Destructor Documentation

template<class date_type >
boost::date_time::year_functor< date_type >::year_functor ( int  f)
inline

Member Function Documentation

template<class date_type >
duration_type boost::date_time::year_functor< date_type >::get_neg_offset ( const date_type &  d) const
inline
template<class date_type >
duration_type boost::date_time::year_functor< date_type >::get_offset ( const date_type &  d) const
inline

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