![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::us_dst_rules — Depricated: Class to calculate dst boundaries for US time zones.
// 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 time_duration_type_ ; typedef date_type_ ; typedef ; typedef ; typedef date_time::last_kday_of_month< date_type > ; typedef date_time::first_kday_of_month< date_type > ; typedef date_time::nth_kday_of_month< date_type > ; typedef dst_calculator< date_type, time_duration_type > ; // public static functions (const date_type &, const time_duration_type &); bool (date_type); date_type (); date_type (); time_duration_type (); };
us_dst_rules
public static functions(const date_type & d, const time_duration_type & 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.
bool (date_type d);
date_type ( year);
date_type ( year);
time_duration_type ();