Boost C++ Libraries Home Libraries People FAQ More

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
  (const , 
                         const , 
                         const );

  // public data members
   dst_adjust_;  // Amount DST adjusts the clock eg: plus one hour. 
   dst_start_offset_;  // Time past midnight on start transition day that dst starts. 
   dst_end_offset_;  // Time past midnight on end transition day that dst ends. 
};

Description

Template Parameters

  1. typename time_duration_type

    A type used to represent the offset

dst_adjustment_offsets public construct/copy/destruct

  1. (const  dst_adjust, 
                           const  dst_start_offset, 
                           const  dst_end_offset);

PrevUpHomeNext