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

Class template null_dst_rules

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 null_dst_rules

boost::date_time::null_dst_rules — Used for local time adjustments in places that don't use dst.

Synopsis

// In header: <boost/date_time/dst_rules.hpp>
template<typename date_type_, typename time_duration_type_> 
class null_dst_rules {
public:
  // types
  typedef time_duration_type_ time_duration_type;
  typedef date_type_          date_type;         
  // public static functions
  static time_is_dst_result 
  local_is_dst(const date_type &, const time_duration_type &);
  static time_is_dst_result 
  utc_is_dst(const date_type &, const time_duration_type &);
  static bool is_dst_boundary_day(date_type);
  static time_duration_type dst_offset();
};

Description

null_dst_rules public static functions

  1. <
    statictime_is_dst_result
    local_is_dst(constdate_type&,consttime_duration_type&);
    >Вычисляет, является ли данное местное время dst или нет.

  2. <
    statictime_is_dst_result
    utc_is_dst(constdate_type&,consttime_duration_type&);
    >Вычисляет, находится ли данное UTC время в dst.
  3. <
    staticboolis_dst_boundary_day(date_type);
    >
  4. <
    statictime_duration_typedst_offset();
    >

PrevUpHomeNext

Статья Class template null_dst_rules раздела 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 21:00:38/0.0061638355255127/0