Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template us_dst_rules

boost::date_time::us_dst_rules — Depricated: Class to calculate dst boundaries for US time zones.

Synopsis

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

template<typename date_type_, typename time_duration_type_, 
          dst_start_offset_minutes = , 
          dst_length_minutes = > 
class us_dst_rules {
public:
  // types
  typedef                              ;
  typedef                                       ;         
  typedef                             ;         
  typedef                         ;     
  typedef date_time::last_kday_of_month<       ;             
  typedef date_time::first_kday_of_month<      ;             
  typedef date_time::nth_kday_of_month<        ;             
  typedef dst_calculator<  ;           

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

Description

us_dst_rules public static functions

  1.  
    ( d,  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.  ( d);
  3.  ( year);
  4.  ( year);
  5.  ();

PrevUpHomeNext