Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template eu_dst_trait

boost::date_time::eu_dst_trait — Rules for daylight savings start in the EU (Last Sun in Mar)

Synopsis

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

template<typename date_type> 
struct eu_dst_trait {
  // types
  typedef                 ;  
  typedef                       ;        
  typedef                        ;         
  typedef date_time::last_kday_of_month<  ;
  typedef date_time::last_kday_of_month<  ;  

  // public static functions
   ();
   ();
   ();
   ();
  int ();
  int ();
  int ();
   ();
   ();
};

Description

These amount to the following:

  • Start of dst day is last Sunday in March

  • End day of dst is last Sunday in Oct

  • Going forward switch time is 2:00 am (offset 120 minutes)

  • Going back switch time is 3:00 am (off set 180 minutes)

  • Shift duration is one hour (60 minutes)

eu_dst_trait public static functions

  1.  ();
  2.  ();
  3.  ();
  4.  ();
  5. int ();
  6. int ();
  7. int ();
  8.  ( year);
  9.  ( year);

PrevUpHomeNext