Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > fa7fad8f194f80107561a85291acd153 > files > 763

lib64boost-devel-doc-1.42.0-3mdv2010.1.x86_64.rpm

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Class template null_dst_rules</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#header.boost.date_time.dst_rules_hpp" title="Header &lt;boost/date_time/dst_rules.hpp&gt;">
<link rel="prev" href="us_dst_rules.html" title="Class template us_dst_rules">
<link rel="next" href="dst_day_calc_rule.html" title="Class template dst_day_calc_rule">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="us_dst_rules.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.dst_rules_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dst_day_calc_rule.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="refentry" title="Class template null_dst_rules">
<a name="boost.date_time.null_dst_rules"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template null_dst_rules</span></h2>
<p>boost::date_time::null_dst_rules &#8212; Used for local time adjustments in places that don't use dst. </p>
</div>
<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="emphasis"><em>// In header: &lt;<a class="link" href="../../date_time/doxy.html#header.boost.date_time.dst_rules_hpp" title="Header &lt;boost/date_time/dst_rules.hpp&gt;">boost/date_time/dst_rules.hpp</a>&gt;

</em></span><span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> date_type_, <span class="bold"><strong>typename</strong></span> time_duration_type_&gt; 
<span class="bold"><strong>class</strong></span> <a class="link" href="null_dst_rules.html" title="Class template null_dst_rules">null_dst_rules</a> {
<span class="bold"><strong>public</strong></span>:
  <span class="emphasis"><em>// types</em></span>
  <span class="bold"><strong>typedef</strong></span> time_duration_type_ <a name="boost.date_time.null_dst_rules.time_duration_type"></a>time_duration_type;
  <span class="bold"><strong>typedef</strong></span> date_type_          <a name="boost.date_time.null_dst_rules.date_type"></a>date_type;         

  <span class="emphasis"><em>// <a class="link" href="null_dst_rules.html#id337375-bb">public static functions</a></em></span>
  <span class="type"><span class="bold"><strong>static</strong></span> time_is_dst_result</span> 
  <a class="link" href="null_dst_rules.html#id337378-bb">local_is_dst</a>(<span class="bold"><strong>const</strong></span> date_type &amp;, <span class="bold"><strong>const</strong></span> time_duration_type &amp;) ;
  <span class="type"><span class="bold"><strong>static</strong></span> time_is_dst_result</span> 
  <a class="link" href="null_dst_rules.html#id407116-bb">utc_is_dst</a>(<span class="bold"><strong>const</strong></span> date_type &amp;, <span class="bold"><strong>const</strong></span> time_duration_type &amp;) ;
  <span class="type"><span class="bold"><strong>static</strong></span> <span class="bold"><strong>bool</strong></span></span> <a class="link" href="null_dst_rules.html#id320573-bb">is_dst_boundary_day</a>(date_type) ;
  <span class="type"><span class="bold"><strong>static</strong></span> time_duration_type</span> <a class="link" href="null_dst_rules.html#id320587-bb">dst_offset</a>() ;
};</pre></div>
<div class="refsect1" title="Description">
<a name="id796152"></a><h2>Description</h2>
<div class="refsect2" title="null_dst_rules public static functions">
<a name="id796155"></a><h3>
<a name="id337375-bb"></a><code class="computeroutput">null_dst_rules</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> time_is_dst_result</span> 
<a name="id337378-bb"></a>local_is_dst(<span class="bold"><strong>const</strong></span> date_type &amp;, <span class="bold"><strong>const</strong></span> time_duration_type &amp;) ;</pre>Calculates if the given local time is dst or not. <p>
</p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> time_is_dst_result</span> 
<a name="id407116-bb"></a>utc_is_dst(<span class="bold"><strong>const</strong></span> date_type &amp;, <span class="bold"><strong>const</strong></span> time_duration_type &amp;) ;</pre>Calculates if the given utc time is in dst. </li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> <span class="bold"><strong>bool</strong></span></span> <a name="id320573-bb"></a>is_dst_boundary_day(date_type d) ;</pre></li>
<li class="listitem"><pre class="literallayout"><span class="type"><span class="bold"><strong>static</strong></span> time_duration_type</span> <a name="id320587-bb"></a>dst_offset() ;</pre></li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="us_dst_rules.html"><img src="../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.dst_rules_hpp"><img src="../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="dst_day_calc_rule.html"><img src="../../../../doc/html/images/next.png" alt="Next"></a>
</div>
</body>
</html>