Compile-time configurable daylight savings time calculation engine. More...
#include <dst_rules.hpp>
Public Types | |
typedef date_type::year_type | year_type |
typedef date_type::calendar_type | calendar_type |
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 time_duration_type | dst_offset () |
The time of day for the dst transition (eg: typically 01:00:00 or 02:00:00) More... | |
static date_type | local_dst_start_day (year_type year) |
static date_type | local_dst_end_day (year_type year) |
Compile-time configurable daylight savings time calculation engine.
typedef date_type::calendar_type boost::date_time::dst_calc_engine< date_type, time_duration_type, dst_traits >::calendar_type |
typedef dst_calculator<date_type, time_duration_type> boost::date_time::dst_calc_engine< date_type, time_duration_type, dst_traits >::dstcalc |
typedef date_type::year_type boost::date_time::dst_calc_engine< date_type, time_duration_type, dst_traits >::year_type |
|
inlinestatic |
The time of day for the dst transition (eg: typically 01:00:00 or 02:00:00)
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
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::dst_calc_engine< date_type, time_duration_type, dst_traits >::local_dst_end_day(), boost::date_time::dst_calc_engine< date_type, time_duration_type, dst_traits >::local_dst_start_day(), boost::date_time::dst_calculator< date_type_, time_duration_type_ >::local_is_dst(), and boost::polygon::y().