Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template c_local_adjustor

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Library Reference

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

PrevUpHomeNext

Class template c_local_adjustor

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

Synopsis

// In header: <boost/date_time/c_local_time_adjustor.hpp>
template<typename time_type> 
class c_local_adjustor {
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;
  // public static functions
  static time_type utc_to_local(const time_type &);
};

Description

Предупреждение!!! Этот класс предполагает, что настройки часового пояса машины верны. Это может быть очень опасное предположение.

c_local_adjustor public static functions

  1. static time_type utc_to_local(const time_type & t);
    Переключить время utc в местное время.

PrevUpHomeNext

Статья Class template c_local_adjustor раздела The Boost C++ Libraries BoostBook Documentation Subset Library Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Library Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 19:54:38/0.0077450275421143/1