...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::date_time::dynamic_local_time_adjustor — Allow sliding utc adjustment with fixed dst rules.
// In header: <boost/date_time/local_time_adjustor.hpp> template<typename time_type, typename dst_rules> class dynamic_local_time_adjustor : public dst_rules { public: // types typedef time_type::time_duration_type time_duration_type; typedef time_type::date_type date_type; // construct/copy/destruct dynamic_local_time_adjustor(time_duration_type); // public member functions time_duration_type utc_offset(bool); };