Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Class template dst_day_calc_rule

boost::date_time::dst_day_calc_rule — Defines base interface for calculating start and end date of daylight savings.


template<typename date_type> 
class dst_day_calc_rule {
// types
typedef date_type::year_type year_type;

// construct/copy/destruct

// public member functions
virtual date_type start_day(year_type) const;
virtual std::string start_rule_as_string() const;
virtual date_type end_day(year_type) const;
virtual std::string end_rule_as_string() const;


dst_day_calc_rule construct/copy/destruct

  1. ~dst_day_calc_rule();

dst_day_calc_rule public member functions

  1. virtual date_type start_day(year_type y) const;
  2. virtual std::string start_rule_as_string() const;
  3. virtual date_type end_day(year_type y) const;
  4. virtual std::string end_rule_as_string() const;
Copyright 2001-2005 CrystalClear Software, Inc