![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::us_dst_trait — Specification for daylight savings start rules in US.
// In header: <boost/date_time/local_timezone_defs.hpp> template<typename date_type> struct us_dst_trait { // types typedef ; typedef ; typedef ; typedef date_time::nth_kday_of_month< ; typedef date_time::first_kday_of_month< ; typedef date_time::first_kday_of_month< ; typedef date_time::last_kday_of_month< ; // public static functions (); (); (); (); (); (); int (); int (); int (); };
This class is used to configure dst_calc_engine template typically as follows:
boost::date_time::dst_calc_engine<
This generates a type suitable for the calculation of dst transitions for the United States. Of course other templates can be used for other locales.