Home | Libraries | People | FAQ | More |
boost::date_time::day_calc_dst_rule — Canonical form for a class that provides day rule calculation.
// In header: <boost/date_time/dst_transition_generators.hpp> template<typename spec> class day_calc_dst_rule : public boost::date_time::dst_day_calc_rule< spec::date_type > { 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; // construct/copy/destruct day_calc_dst_rule(start_rule, end_rule); // public member functions date_type start_day(year_type) const; std::string start_rule_as_string() const; date_type end_day(year_type) const; std::string end_rule_as_string() const; };