Class template null_dst_rules
boost::date_time::null_dst_rules — Used for local time adjustments in places that don't use dst.
Synopsis
template<typename date_type_, typename time_duration_type_>
class null_dst_rules {
public:
typedef time_duration_type_ time_duration_type;
typedef date_type_ date_type;
static time_is_dst_result
local_is_dst(const date_type &, const time_duration_type &);
static time_is_dst_result
utc_is_dst(const date_type &, const time_duration_type &);
static bool is_dst_boundary_day(date_type);
static time_duration_type dst_offset();
};
Description
null_dst_rules public static functions
- <
statictime_is_dst_result
local_is_dst(constdate_type&,consttime_duration_type&);
>Вычисляет, является ли данное местное время dst или нет.
- <
statictime_is_dst_result
utc_is_dst(constdate_type&,consttime_duration_type&);
>Вычисляет, находится ли данное UTC время в dst.
- <
staticboolis_dst_boundary_day(date_type);
>
- <
statictime_duration_typedst_offset();
>