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

Class template day_calc_dst_rule

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 day_calc_dst_rule

boost::date_time::day_calc_dst_rule — Canonical form for a class that provides day rule calculation.

Synopsis

// In header: <boost/date_time/dst_transition_generators.hpp>
template<typename spec> 
class day_calc_dst_rule :
  public boost::date_time::dst_day_calc_rule< spec::date_type >
{
public:
  // types
  typedef spec::date_type      date_type; 
  typedef date_type::year_type year_type; 
  typedef spec::start_rule     start_rule;
  typedef spec::end_rule       end_rule;  
  // construct/copy/destruct
  day_calc_dst_rule(start_rule, end_rule);
  // public member functions
  virtual date_type start_day(year_type) const;
  virtual std::string start_rule_as_string() const;
  virtual date_type end_day(year_type) const;
  virtual std::string end_rule_as_string() const;
};

Description

Этот класс используется для создания определенных наборов правил dst.

day_calc_dst_rule public construct/copy/destruct

  1. <
    day_calc_dst_rule(start_ruledst_start,end_ruledst_end);
    >

day_calc_dst_rule public member functions

  1. <
    virtualdate_typestart_day(year_typey)const;
    >
  2. <
    virtualstd::stringstart_rule_as_string()const;
    >
  3. <
    virtualdate_typeend_day(year_typey)const;
    >
  4. <
    virtualstd::stringend_rule_as_string()const;
    >

PrevUpHomeNext

Статья Class template day_calc_dst_rule раздела 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-20 09:53:32/0.0058581829071045/0