Base class for all generators that take a year and produce a date. More...
#include <date_generators.hpp>
Public Types | |
typedef date_type::calendar_type | calendar_type |
typedef calendar_type::year_type | year_type |
Public Member Functions | |
year_based_generator () | |
virtual | ~year_based_generator () |
virtual date_type | get_date (year_type y) const =0 |
virtual std::string | to_string () const =0 |
Returns a string for use in a POSIX time_zone string. More... | |
Base class for all generators that take a year and produce a date.
This class is a base class for polymorphic function objects that take a year and produce a concrete date.
date_type | The type representing a date. This type must export a calender_type which defines a year_type. |
typedef date_type::calendar_type boost::date_time::year_based_generator< date_type >::calendar_type |
typedef calendar_type::year_type boost::date_time::year_based_generator< date_type >::year_type |
|
inline |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
Returns a string for use in a POSIX time_zone string.
Implemented in boost::date_time::last_kday_of_month< date_type >, boost::date_time::first_kday_of_month< date_type >, boost::date_time::nth_kday_of_month< date_type >, and boost::date_time::partial_date< date_type >.