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::day_calc_dst_rule< spec > Class Template Referenceabstract

Canonical form for a class that provides day rule calculation. More...

#include <dst_transition_generators.hpp>

Inheritance diagram for boost::date_time::day_calc_dst_rule< spec >:
Collaboration diagram for boost::date_time::day_calc_dst_rule< spec >:

Public Types

typedef spec::date_type date_type
 
typedef date_type::year_type year_type
 
typedef spec::start_rule start_rule
 
typedef spec::end_rule end_rule
 

Public Member Functions

 day_calc_dst_rule (start_rule dst_start, end_rule dst_end)
 
virtual date_type start_day (year_type y) const
 
virtual std::string start_rule_as_string () const
 
virtual date_type end_day (year_type y) const
 
virtual std::string end_rule_as_string () const
 
virtual spec::date_type start_day (year_type y) const =0
 
virtual spec::date_type end_day (year_type y) const =0
 

Detailed Description

template<class spec>
class boost::date_time::day_calc_dst_rule< spec >

Canonical form for a class that provides day rule calculation.

This class is used to generate specific sets of dst rules

Parameters
specProvides a specifiction of the function object types used to generate start and end days of daylight savings as well as the date type.

Member Typedef Documentation

template<class spec >
typedef spec::date_type boost::date_time::day_calc_dst_rule< spec >::date_type
template<class spec >
typedef spec::end_rule boost::date_time::day_calc_dst_rule< spec >::end_rule
template<class spec >
typedef spec::start_rule boost::date_time::day_calc_dst_rule< spec >::start_rule
template<class spec >
typedef date_type::year_type boost::date_time::day_calc_dst_rule< spec >::year_type

Constructor & Destructor Documentation

template<class spec >
boost::date_time::day_calc_dst_rule< spec >::day_calc_dst_rule ( start_rule  dst_start,
end_rule  dst_end 
)
inline

Member Function Documentation

virtual spec::date_type boost::date_time::dst_day_calc_rule< spec::date_type >::end_day ( year_type  y) const
pure virtualinherited
template<class spec >
virtual date_type boost::date_time::day_calc_dst_rule< spec >::end_day ( year_type  y) const
inlinevirtual
template<class spec >
virtual std::string boost::date_time::day_calc_dst_rule< spec >::end_rule_as_string ( ) const
inlinevirtual
virtual spec::date_type boost::date_time::dst_day_calc_rule< spec::date_type >::start_day ( year_type  y) const
pure virtualinherited
template<class spec >
virtual date_type boost::date_time::day_calc_dst_rule< spec >::start_day ( year_type  y) const
inlinevirtual
template<class spec >
virtual std::string boost::date_time::day_calc_dst_rule< spec >::start_rule_as_string ( ) const
inlinevirtual

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