Boost C++ Libraries

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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class template utc_adjustment

boost::date_time::utc_adjustment — Provides a base offset adjustment from utc.

Synopsis

// In header: <boost/date_time/local_time_adjustor.hpp>

template<typename time_duration_type, short hours, unsigned short minutes = 0> 
class utc_adjustment {
public:

  // public static functions
  static time_duration_type local_to_utc_base_offset();
  static time_duration_type utc_to_local_base_offset();
};

Description

utc_adjustment public static functions

  1. static time_duration_type local_to_utc_base_offset();
  2. static time_duration_type utc_to_local_base_offset();

PrevUpHomeNext