PrevUpHomeNext

Class template leapyear_anyday_iterator

fd::gregorian::leapyear_anyday_iterator

Synopsis

// In header: <fd/date_iterators.h>

template<typename YearIt> 
class leapyear_anyday_iterator : public YearIt {
public:
  // types
  typedef typename YearIt::date_type     date_type;    
  typedef typename YearIt::duration_type duration_type;
  typedef typename YearIt::calendar_type calendar_type;

  // public member functions
  constexpr duration_type get_offset(date_type) const;
  constexpr duration_type get_neg_offset(date_type) const;

  // public static functions
  static constexpr bool is_leapyear(const date_type &);
};

Description

leapyear_anyday_iterator public member functions

  1. constexpr duration_type get_offset(date_type current) const;
  2. constexpr duration_type get_neg_offset(date_type current) const;

leapyear_anyday_iterator public static functions

  1. static constexpr bool is_leapyear(const date_type & d);

PrevUpHomeNext