Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Click here to view the latest version of this page.

Class template c_local_adjustor

boost::date_time::c_local_adjustor — Adjust to / from utc using the C API.


template<typename time_type> 
class c_local_adjustor {
// 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;

// public static functions
static time_type utc_to_local(const time_type &) ;


Warning!!! This class assumes that timezone settings of the machine are correct. This can be a very dangerous assumption.

c_local_adjustor public static functions

  1. static time_type utc_to_local(const time_type & t) ;
Copyright 2001-2005 CrystalClear Software, Inc