1 | <html> |
---|
2 | <head> |
---|
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
---|
4 | <title>Class template day_calc_dst_rule</title> |
---|
5 | <link rel="stylesheet" href="boostbook.css" type="text/css"> |
---|
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> |
---|
7 | <link rel="start" href="index.html" title="The Boost C++ Libraries"> |
---|
8 | <link rel="up" href="date_time/doxy.html#id2427093" title="Header <boost/date_time/dst_transition_generators.hpp>"> |
---|
9 | <link rel="prev" href="dst_day_calc_rule.html" title="Class template dst_day_calc_rule"> |
---|
10 | <link rel="next" href="time_from_ftime.html" title="Function template time_from_ftime"> |
---|
11 | </head> |
---|
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
---|
13 | <table cellpadding="2" width="100%"> |
---|
14 | <td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> |
---|
15 | <td align="center"><a href="../../index.htm">Home</a></td> |
---|
16 | <td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> |
---|
17 | <td align="center"><a href="../../people/people.htm">People</a></td> |
---|
18 | <td align="center"><a href="../../more/faq.htm">FAQ</a></td> |
---|
19 | <td align="center"><a href="../../more/index.htm">More</a></td> |
---|
20 | </table> |
---|
21 | <hr> |
---|
22 | <div class="spirit-nav"> |
---|
23 | <a accesskey="p" href="dst_day_calc_rule.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2427093"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="time_from_ftime.html"><img src="images/next.png" alt="Next"></a> |
---|
24 | </div> |
---|
25 | <div class="refentry" lang="en"> |
---|
26 | <a name="day_calc_dst_rule"></a><div class="titlepage"></div> |
---|
27 | <div class="refnamediv"> |
---|
28 | <h2><span class="refentrytitle">Class template day_calc_dst_rule</span></h2> |
---|
29 | <p>boost::date_time::day_calc_dst_rule — Canonical form for a class that provides day rule calculation. </p> |
---|
30 | </div> |
---|
31 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
---|
32 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> spec> |
---|
33 | <span class="bold"><strong>class</strong></span> day_calc_dst_rule |
---|
34 | : : <span class="bold"><strong>public</strong></span> boost::date_time::dst_day_calc_rule< spec::date_type > |
---|
35 | { |
---|
36 | <span class="bold"><strong>public</strong></span>: |
---|
37 | <span class="emphasis"><em>// types</em></span> |
---|
38 | <span class="bold"><strong>typedef</strong></span> spec::date_type date_type; |
---|
39 | <span class="bold"><strong>typedef</strong></span> date_type::year_type year_type; |
---|
40 | <span class="bold"><strong>typedef</strong></span> spec::start_rule start_rule; |
---|
41 | <span class="bold"><strong>typedef</strong></span> spec::end_rule end_rule; |
---|
42 | |
---|
43 | <span class="emphasis"><em>// <a href="day_calc_dst_rule.html#day_calc_dst_ruleconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
---|
44 | <a href="day_calc_dst_rule.html#id2501843-bb">day_calc_dst_rule</a>(start_rule, end_rule); |
---|
45 | |
---|
46 | <span class="emphasis"><em>// <a href="day_calc_dst_rule.html#id2455172-bb">public member functions</a></em></span> |
---|
47 | <span class="type"><span class="bold"><strong>virtual</strong></span> date_type</span> <a href="day_calc_dst_rule.html#id2455176-bb">start_day</a>(year_type) <span class="bold"><strong>const</strong></span>; |
---|
48 | <span class="type"><span class="bold"><strong>virtual</strong></span> std::string</span> <a href="day_calc_dst_rule.html#id2416619-bb">start_rule_as_string</a>() <span class="bold"><strong>const</strong></span>; |
---|
49 | <span class="type"><span class="bold"><strong>virtual</strong></span> date_type</span> <a href="day_calc_dst_rule.html#id2440413-bb">end_day</a>(year_type) <span class="bold"><strong>const</strong></span>; |
---|
50 | <span class="type"><span class="bold"><strong>virtual</strong></span> std::string</span> <a href="day_calc_dst_rule.html#id2446228-bb">end_rule_as_string</a>() <span class="bold"><strong>const</strong></span>; |
---|
51 | };</pre></div> |
---|
52 | <div class="refsect1" lang="en"> |
---|
53 | <a name="id2633909"></a><h2>Description</h2> |
---|
54 | <p>This class is used to generate specific sets of dst rules</p> |
---|
55 | <p></p> |
---|
56 | <div class="refsect2" lang="en"> |
---|
57 | <a name="id2633917"></a><h3> |
---|
58 | <a name="day_calc_dst_ruleconstruct-copy-destruct"></a><code class="computeroutput">day_calc_dst_rule</code> construct/copy/destruct</h3> |
---|
59 | <div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id2501843-bb"></a>day_calc_dst_rule(start_rule dst_start, end_rule dst_end);</pre></li></ol></div> |
---|
60 | </div> |
---|
61 | <div class="refsect2" lang="en"> |
---|
62 | <a name="id2633952"></a><h3> |
---|
63 | <a name="id2455172-bb"></a><code class="computeroutput">day_calc_dst_rule</code> public member functions</h3> |
---|
64 | <div class="orderedlist"><ol type="1"> |
---|
65 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> date_type</span> <a name="id2455176-bb"></a>start_day(year_type y) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
66 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> std::string</span> <a name="id2416619-bb"></a>start_rule_as_string() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
67 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> date_type</span> <a name="id2440413-bb"></a>end_day(year_type y) <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
68 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>virtual</strong></span> std::string</span> <a name="id2446228-bb"></a>end_rule_as_string() <span class="bold"><strong>const</strong></span>;</pre></li> |
---|
69 | </ol></div> |
---|
70 | </div> |
---|
71 | </div> |
---|
72 | </div> |
---|
73 | <table width="100%"><tr> |
---|
74 | <td align="left"></td> |
---|
75 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
---|
76 | </tr></table> |
---|
77 | <hr> |
---|
78 | <div class="spirit-nav"> |
---|
79 | <a accesskey="p" href="dst_day_calc_rule.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2427093"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="time_from_ftime.html"><img src="images/next.png" alt="Next"></a> |
---|
80 | </div> |
---|
81 | </body> |
---|
82 | </html> |
---|