| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
|---|
| 4 | <title>Struct template eu_dst_trait</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#id2503510" title="Header <boost/date_time/local_timezone_defs.hpp>"> |
|---|
| 9 | <link rel="prev" href="us_dst_trait.html" title="Struct template us_dst_trait"> |
|---|
| 10 | <link rel="next" href="uk_dst_trait.html" title="Struct template uk_dst_trait"> |
|---|
| 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="us_dst_trait.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2503510"><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="uk_dst_trait.html"><img src="images/next.png" alt="Next"></a> |
|---|
| 24 | </div> |
|---|
| 25 | <div class="refentry" lang="en"> |
|---|
| 26 | <a name="eu_dst_trait"></a><div class="titlepage"></div> |
|---|
| 27 | <div class="refnamediv"> |
|---|
| 28 | <h2><span class="refentrytitle">Struct template eu_dst_trait</span></h2> |
|---|
| 29 | <p>boost::date_time::eu_dst_trait — Rules for daylight savings start in the EU (Last Sun in Mar). </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> date_type> |
|---|
| 33 | <span class="bold"><strong>struct</strong></span> eu_dst_trait { |
|---|
| 34 | <span class="emphasis"><em>// types</em></span> |
|---|
| 35 | <span class="bold"><strong>typedef</strong></span> date_type::day_of_week_type day_of_week_type; |
|---|
| 36 | <span class="bold"><strong>typedef</strong></span> date_type::month_type month_type; |
|---|
| 37 | <span class="bold"><strong>typedef</strong></span> <a href="last_kday_of_month.html" title="Class template last_kday_of_month">date_time::last_kday_of_month</a>< date_type > start_rule_functor; |
|---|
| 38 | <span class="bold"><strong>typedef</strong></span> <a href="last_kday_of_month.html" title="Class template last_kday_of_month">date_time::last_kday_of_month</a>< date_type > end_rule_functor; |
|---|
| 39 | |
|---|
| 40 | <span class="emphasis"><em>// <a href="eu_dst_trait.html#id2484991-bb">public static functions</a></em></span> |
|---|
| 41 | <span class="type">day_of_week_type</span> <a href="eu_dst_trait.html#id2484995-bb">start_day</a>() ; |
|---|
| 42 | <span class="type">month_type</span> <a href="eu_dst_trait.html#id2442348-bb">start_month</a>() ; |
|---|
| 43 | <span class="type">day_of_week_type</span> <a href="eu_dst_trait.html#id2442361-bb">end_day</a>() ; |
|---|
| 44 | <span class="type">month_type</span> <a href="eu_dst_trait.html#id2414469-bb">end_month</a>() ; |
|---|
| 45 | <span class="type"><span class="bold"><strong>int</strong></span></span> <a href="eu_dst_trait.html#id2414482-bb">dst_start_offset_minutes</a>() ; |
|---|
| 46 | <span class="type"><span class="bold"><strong>int</strong></span></span> <a href="eu_dst_trait.html#id2509071-bb">dst_end_offset_minutes</a>() ; |
|---|
| 47 | <span class="type"><span class="bold"><strong>int</strong></span></span> <a href="eu_dst_trait.html#id2509628-bb">dst_shift_length_minutes</a>() ; |
|---|
| 48 | };</pre></div> |
|---|
| 49 | <div class="refsect1" lang="en"> |
|---|
| 50 | <a name="id2644427"></a><h2>Description</h2> |
|---|
| 51 | <p>These amount to the following:</p> |
|---|
| 52 | <div class="itemizedlist"><ul type="disc"> |
|---|
| 53 | <li><p>Start of dst day is last Sunday in March</p></li> |
|---|
| 54 | <li><p>End day of dst is last Sunday in Oct</p></li> |
|---|
| 55 | <li><p>Going forward switch time is 2:00 am (offset 120 minutes)</p></li> |
|---|
| 56 | <li><p>Going back switch time is 3:00 am (off set 180 minutes)</p></li> |
|---|
| 57 | <li><p>Shift duration is one hour (60 minutes) </p></li> |
|---|
| 58 | </ul></div> |
|---|
| 59 | <div class="refsect2" lang="en"> |
|---|
| 60 | <a name="id2644454"></a><h3> |
|---|
| 61 | <a name="id2484991-bb"></a><code class="computeroutput">eu_dst_trait</code> public static functions</h3> |
|---|
| 62 | <div class="orderedlist"><ol type="1"> |
|---|
| 63 | <li><pre class="literallayout"><span class="type">day_of_week_type</span> <a name="id2484995-bb"></a>start_day() ;</pre></li> |
|---|
| 64 | <li><pre class="literallayout"><span class="type">month_type</span> <a name="id2442348-bb"></a>start_month() ;</pre></li> |
|---|
| 65 | <li><pre class="literallayout"><span class="type">day_of_week_type</span> <a name="id2442361-bb"></a>end_day() ;</pre></li> |
|---|
| 66 | <li><pre class="literallayout"><span class="type">month_type</span> <a name="id2414469-bb"></a>end_month() ;</pre></li> |
|---|
| 67 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="id2414482-bb"></a>dst_start_offset_minutes() ;</pre></li> |
|---|
| 68 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="id2509071-bb"></a>dst_end_offset_minutes() ;</pre></li> |
|---|
| 69 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>int</strong></span></span> <a name="id2509628-bb"></a>dst_shift_length_minutes() ;</pre></li> |
|---|
| 70 | </ol></div> |
|---|
| 71 | </div> |
|---|
| 72 | </div> |
|---|
| 73 | </div> |
|---|
| 74 | <table width="100%"><tr> |
|---|
| 75 | <td align="left"></td> |
|---|
| 76 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
|---|
| 77 | </tr></table> |
|---|
| 78 | <hr> |
|---|
| 79 | <div class="spirit-nav"> |
|---|
| 80 | <a accesskey="p" href="us_dst_trait.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2503510"><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="uk_dst_trait.html"><img src="images/next.png" alt="Next"></a> |
|---|
| 81 | </div> |
|---|
| 82 | </body> |
|---|
| 83 | </html> |
|---|