Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template dst_calc_engine

boost::date_time::dst_calc_engine — Compile-time configurable daylight savings time calculation engine.

Synopsis

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

template<typename date_type, typename time_duration_type, typename dst_traits> 
class dst_calc_engine {
public:
  // types
  typedef                             ;    
  typedef                         ;
  typedef dst_calculator<  ;      

  // public static functions
   
  (const , const );
  bool ();
   ();
   ();
   ();
};

Description

dst_calc_engine public static functions

  1.  
    (const  d, const  td);
    Calculates if the given local time is dst or not.

    Determines if the time is really in DST or not. Also checks for invalid and ambiguous.

  2. bool ( d);
  3.  ();
    The time of day for the dst transition (eg: typically 01:00:00 or 02:00:00)
  4.  ( year);
  5.  ( year);

PrevUpHomeNext