Boost C++ Libraries

...one 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 to view this page for the latest version.
PrevUpHomeNext

Class template dst_adjustment_offsets

boost::date_time::dst_adjustment_offsets — Structure which holds the time offsets associated with daylight savings time.

Synopsis

// In header: <boost/date_time/time_zone_base.hpp>

template<typename time_duration_type> 
class dst_adjustment_offsets {
public:
  // construct/copy/destruct
  dst_adjustment_offsets(const time_duration_type &, 
                         const time_duration_type &, 
                         const time_duration_type &);
  time_duration_type dst_adjust_;  // Amount DST adjusts the clock eg: plus one hour. 
  time_duration_type dst_start_offset_;  // Time past midnight on start transition day that dst starts. 
  time_duration_type dst_end_offset_;  // Time past midnight on end transition day that dst ends. 
};

Description

dst_adjustment_offsets public construct/copy/destruct

  1. dst_adjustment_offsets(const time_duration_type & dst_adjust, 
                           const time_duration_type & dst_start_offset, 
                           const time_duration_type & dst_end_offset);

PrevUpHomeNext