Depricated: Class to calculate dst boundaries for US time zones. More...
#include <dst_rules.hpp>
Public Types | |
typedef time_duration_type_ | time_duration_type |
typedef date_type_ | date_type |
typedef date_type::year_type | year_type |
typedef date_type::calendar_type | calendar_type |
typedef date_time::last_kday_of_month < date_type > | lkday |
typedef date_time::first_kday_of_month < date_type > | fkday |
typedef date_time::nth_kday_of_month < date_type > | nkday |
typedef dst_calculator < date_type, time_duration_type > | dstcalc |
Static Public Member Functions | |
static time_is_dst_result | local_is_dst (const date_type &d, const time_duration_type &td) |
Calculates if the given local time is dst or not. More... | |
static bool | is_dst_boundary_day (date_type d) |
static date_type | local_dst_start_day (year_type year) |
static date_type | local_dst_end_day (year_type year) |
static time_duration_type | dst_offset () |
Depricated: Class to calculate dst boundaries for US time zones.
typedef date_type::calendar_type boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::calendar_type |
typedef date_type_ boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::date_type |
typedef dst_calculator<date_type, time_duration_type> boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::dstcalc |
typedef date_time::first_kday_of_month<date_type> boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::fkday |
typedef date_time::last_kday_of_month<date_type> boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::lkday |
typedef date_time::nth_kday_of_month<date_type> boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::nkday |
typedef time_duration_type_ boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::time_duration_type |
typedef date_type::year_type boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::year_type |
|
inlinestatic |
|
inlinestatic |
References boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_dst_end_day(), boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_dst_start_day(), and boost::polygon::y().
|
inlinestatic |
References boost::date_time::first_kday_of_month< date_type >::get_date(), boost::date_time::last_kday_of_month< date_type >::get_date(), boost::date_time::Nov, boost::date_time::Oct, and boost::date_time::Sunday.
Referenced by boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::is_dst_boundary_day(), and boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_is_dst().
|
inlinestatic |
References boost::date_time::Apr, boost::date_time::nth_kday_of_month< date_type >::get_date(), boost::date_time::first_kday_of_month< date_type >::get_date(), boost::date_time::Mar, boost::date_time::nth_kday_of_month< date_type >::second, and boost::date_time::Sunday.
Referenced by boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::is_dst_boundary_day(), and boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_is_dst().
|
inlinestatic |
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.
The | time is either ambiguous, invalid, in dst, or not in dst |
References boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_dst_end_day(), boost::date_time::us_dst_rules< date_type_, time_duration_type_, dst_start_offset_minutes, dst_length_minutes >::local_dst_start_day(), boost::date_time::dst_calculator< date_type_, time_duration_type_ >::local_is_dst(), and boost::polygon::y().