Adjust to / from utc using the C API. More...
#include <c_local_time_adjustor.hpp>
Public Types | |
typedef time_type::time_duration_type | time_duration_type |
typedef time_type::date_type | date_type |
typedef date_type::duration_type | date_duration_type |
Static Public Member Functions | |
static time_type | utc_to_local (const time_type &t) |
Convert a utc time to local time. More... | |
Adjust to / from utc using the C API.
Warning!!! This class assumes that timezone settings of the machine are correct. This can be a very dangerous assumption.
typedef date_type::duration_type boost::date_time::c_local_adjustor< time_type >::date_duration_type |
typedef time_type::date_type boost::date_time::c_local_adjustor< time_type >::date_type |
typedef time_type::time_duration_type boost::date_time::c_local_adjustor< time_type >::time_duration_type |
|
inlinestatic |
Convert a utc time to local time.
References BOOST_DATE_TIME_UNREACHABLE_EXPRESSION, boost::date_time::c_time::localtime(), and boost::throw_exception().