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

Class template dst_calculator

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 dst_calculator

boost::date_time::dst_calculator — Dynamic class used to caluclate dst transition information.

Synopsis

// In header: <boost/date_time/dst_rules.hpp>
template<typename date_type_, typename time_duration_type_> 
class dst_calculator {
public:
  // types
  typedef time_duration_type_ time_duration_type;
  typedef date_type_          date_type;         
  // public static functions
  static time_is_dst_result 
  process_local_dst_start_day(const time_duration_type &, unsigned int, long);
  static time_is_dst_result 
  process_local_dst_end_day(const time_duration_type &, unsigned int, long);
  static time_is_dst_result 
  local_is_dst(const date_type &, const time_duration_type &, 
               const date_type &, const time_duration_type &, 
               const date_type &, const time_duration_type &, 
               const time_duration_type &);
  static time_is_dst_result 
  local_is_dst(const date_type &, const time_duration_type &, 
               const date_type &, unsigned int, const date_type &, 
               unsigned int, long);
};
  • static time_is_dst_resultprocess_local_dst_end_dayconsttime_duration_type & time_of_day, unsignedint dst_end_offset_minutes, long dst_length_minutes;
    Проверить смещение локального времени в последний день dst.

    Это расчет для конечного дня DST. В этот день время до времени конверсии - dst_length (1:00 в США) все еще в dst. Времена между вышеизложенным и временем переключения неоднозначны. Временами после старта_оффсета не являются dst.

  • static time_is_dst_result local_is_dst  current_day,   time_duration_type ,   time_of_day,   dst_start_day ,    dst_start_offset,   dst_start_offset  ,   dst_end_day    time_duration_offset ,   dst_end_offset,  const   time_end_offset ,   time_duration_type   & dst_length_minute 

    Определяет, действительно ли время в ДСТ или нет. Также проверки на недействительные и неоднозначные.

    dst_end_offset < 78>
    < 71> < 80> < 80> < 78> < 78> < 180> < 71> < 80> < 78> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80> < 80>
  • static time_is_dst_result local_is_dst  current_day,   time_duration_type ,   time_of_day,   dst_start_day,   unsigned dst_start_offset_minutes,   dst_end_offset_minutes,   dst_end_offset_mins,  long dst_length_minutes,   dst_length_minutes,   dst_length_minutes,   dst_length_minutes, <2 

    Определяет, действительно ли время в DST или нет. Также проверки на недействительные и неоднозначные.

    < 71> < 71> < 72> < 72> < 72> < 77> < 72> < 72> <

  • PrevUpHomeNext

    Статья Class template dst_calculator раздела 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-07-04 18:25:53/0.0061180591583252/0