Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::null_dst_rules< date_type_, time_duration_type_ > Class Template Reference

Used for local time adjustments in places that don't use dst. More...

#include <dst_rules.hpp>

Public Types

typedef time_duration_type_ time_duration_type
 
typedef date_type_ date_type
 

Static Public Member Functions

static time_is_dst_result local_is_dst (const date_type &, const time_duration_type &)
 Calculates if the given local time is dst or not. More...
 
static time_is_dst_result utc_is_dst (const date_type &, const time_duration_type &)
 Calculates if the given utc time is in dst. More...
 
static bool is_dst_boundary_day (date_type)
 
static time_duration_type dst_offset ()
 

Detailed Description

template<class date_type_, class time_duration_type_>
class boost::date_time::null_dst_rules< date_type_, time_duration_type_ >

Used for local time adjustments in places that don't use dst.

Member Typedef Documentation

template<class date_type_ , class time_duration_type_ >
typedef date_type_ boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::date_type
template<class date_type_ , class time_duration_type_ >
typedef time_duration_type_ boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::time_duration_type

Member Function Documentation

template<class date_type_ , class time_duration_type_ >
static time_duration_type boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::dst_offset ( )
inlinestatic
template<class date_type_ , class time_duration_type_ >
static bool boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::is_dst_boundary_day ( date_type  )
inlinestatic
template<class date_type_ , class time_duration_type_ >
static time_is_dst_result boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::local_is_dst ( const date_type ,
const time_duration_type  
)
inlinestatic

Calculates if the given local time is dst or not.

Return values
Alwaysis_not_in_dst since this is for zones without dst

References boost::date_time::is_not_in_dst.

template<class date_type_ , class time_duration_type_ >
static time_is_dst_result boost::date_time::null_dst_rules< date_type_, time_duration_type_ >::utc_is_dst ( const date_type ,
const time_duration_type  
)
inlinestatic

Calculates if the given utc time is in dst.

References boost::date_time::is_not_in_dst.


The documentation for this class was generated from the following file: