Class leapyear_iterator
fd::leapyear_iterator — A year level iterator, iterating only over leap years.
Synopsis
class leapyear_iterator : public boost::date_time::date_itr< leapyear_filter_functor< boost::gregorian::date >, boost::gregorian::date >
{
public:
leapyear_iterator(date_type);
};
Description
Sets itself to the next adjacent leap year from the given date.
|
Note |
Doesn't support an interval factor because I consider iterating by leap years already as a special factor for iterating over years. It's just not possible to have a special factor with year_iterator. |
leapyear_iterator
public
construct/copy/destruct
leapyear_iterator(date_type d);