summaryrefslogtreecommitdiff
path: root/doc/html/boost/date_time/date_duration.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost/date_time/date_duration.html')
-rw-r--r--doc/html/boost/date_time/date_duration.html74
1 files changed, 38 insertions, 36 deletions
diff --git a/doc/html/boost/date_time/date_duration.html b/doc/html/boost/date_time/date_duration.html
index 92086a7503..59415edd44 100644
--- a/doc/html/boost/date_time/date_duration.html
+++ b/doc/html/boost/date_time/date_duration.html
@@ -41,73 +41,75 @@
<span class="keyword">typedef</span> <span class="identifier">duration_rep_traits</span><span class="special">::</span><span class="identifier">impl_type</span> <a name="boost.date_time.date_duration.duration_rep"></a><span class="identifier">duration_rep</span><span class="special">;</span>
<span class="comment">// <a class="link" href="date_duration.html#boost.date_time.date_durationconstruct-copy-destruct">construct/copy/destruct</a></span>
- <span class="keyword">explicit</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_7-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="identifier">duration_rep</span><span class="special">)</span><span class="special">;</span>
- <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_8-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="identifier">special_values</span><span class="special">)</span><span class="special">;</span>
- <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_9-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a><span class="special">&lt;</span> <span class="identifier">duration_rep_traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">explicit</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_7-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="identifier">duration_rep</span><span class="special">)</span><span class="special">;</span>
+ <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_8-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="identifier">special_values</span><span class="special">)</span><span class="special">;</span>
+ <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_9-bb"><span class="identifier">date_duration</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a><span class="special">&lt;</span> <span class="identifier">duration_rep_traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <span class="comment">// <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6-bb">public member functions</a></span>
- <span class="identifier">duration_rep</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_1-bb"><span class="identifier">get_rep</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_2-bb"><span class="identifier">is_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="identifier">duration_rep_type</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_3-bb"><span class="identifier">days</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_4-bb"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_5-bb"><span class="keyword">operator</span><span class="special">&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_6-bb"><span class="keyword">operator</span><span class="special">-=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_7-bb"><span class="keyword">operator</span><span class="special">+=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
- <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_8-bb"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_9-bb"><span class="keyword">operator</span><span class="special">/=</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
- <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_6_10-bb"><span class="identifier">is_negative</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6-bb">public member functions</a></span>
+ <span class="identifier">duration_rep</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_1-bb"><span class="identifier">get_rep</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">special_values</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_2-bb"><span class="identifier">as_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_3-bb"><span class="identifier">is_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="identifier">duration_rep_type</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_4-bb"><span class="identifier">days</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_5-bb"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_6-bb"><span class="keyword">operator</span><span class="special">&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_7-bb"><span class="keyword">operator</span><span class="special">-=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_8-bb"><span class="keyword">operator</span><span class="special">+=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
+ <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_9-bb"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
+ <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_10-bb"><span class="keyword">operator</span><span class="special">/=</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
+ <span class="keyword">bool</span> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_6_11-bb"><span class="identifier">is_negative</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
- <span class="comment">// <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_10-bb">public static functions</a></span>
- <span class="keyword">static</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a class="link" href="date_duration.html#id-1_3_12_15_3_10_1_1_1_10_1-bb"><span class="identifier">unit</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
+ <span class="comment">// <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_10-bb">public static functions</a></span>
+ <span class="keyword">static</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a class="link" href="date_duration.html#id-1_3_13_15_3_10_1_1_1_10_1-bb"><span class="identifier">unit</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
-<a name="id-1.3.12.15.3.10.3.4"></a><h2>Description</h2>
+<a name="id-1.3.13.15.3.10.3.4"></a><h2>Description</h2>
<div class="refsect2">
-<a name="id-1.3.12.15.3.10.3.4.2"></a><h3>
+<a name="id-1.3.13.15.3.10.3.4.2"></a><h3>
<a name="boost.date_time.date_durationconstruct-copy-destruct"></a><code class="computeroutput">date_duration</code>
public
construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
-<pre class="literallayout"><span class="keyword">explicit</span> <a name="id-1_3_12_15_3_10_1_1_1_7-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="identifier">duration_rep</span> day_count<span class="special">)</span><span class="special">;</span></pre>Construct from a day count. </li>
+<pre class="literallayout"><span class="keyword">explicit</span> <a name="id-1_3_13_15_3_10_1_1_1_7-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="identifier">duration_rep</span> day_count<span class="special">)</span><span class="special">;</span></pre>Construct from a day count. </li>
<li class="listitem">
-<pre class="literallayout"><a name="id-1_3_12_15_3_10_1_1_1_8-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="identifier">special_values</span> sv<span class="special">)</span><span class="special">;</span></pre>
+<pre class="literallayout"><a name="id-1_3_13_15_3_10_1_1_1_8-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="identifier">special_values</span> sv<span class="special">)</span><span class="special">;</span></pre>
<p>construct from special_values - only works when instantiated with <code class="computeroutput"><a class="link" href="duration_traits_adapted.html" title="Struct duration_traits_adapted">duration_traits_adapted</a></code> </p>
</li>
<li class="listitem">
-<pre class="literallayout"><a name="id-1_3_12_15_3_10_1_1_1_9-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a><span class="special">&lt;</span> <span class="identifier">duration_rep_traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> other<span class="special">)</span><span class="special">;</span></pre>Construct from another <code class="computeroutput"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a></code> (Copy Constructor) </li>
+<pre class="literallayout"><a name="id-1_3_13_15_3_10_1_1_1_9-bb"></a><span class="identifier">date_duration</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a><span class="special">&lt;</span> <span class="identifier">duration_rep_traits</span> <span class="special">&gt;</span> <span class="special">&amp;</span> other<span class="special">)</span><span class="special">;</span></pre>Construct from another <code class="computeroutput"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a></code> (Copy Constructor) </li>
</ol></div>
</div>
<div class="refsect2">
-<a name="id-1.3.12.15.3.10.3.4.3"></a><h3>
-<a name="id-1_3_12_15_3_10_1_1_1_6-bb"></a><code class="computeroutput">date_duration</code> public member functions</h3>
+<a name="id-1.3.13.15.3.10.3.4.3"></a><h3>
+<a name="id-1_3_13_15_3_10_1_1_1_6-bb"></a><code class="computeroutput">date_duration</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
-<pre class="literallayout"><span class="identifier">duration_rep</span> <a name="id-1_3_12_15_3_10_1_1_1_6_1-bb"></a><span class="identifier">get_rep</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns days_ as it's instantiated type - used for streaming </li>
-<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_12_15_3_10_1_1_1_6_2-bb"></a><span class="identifier">is_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
+<pre class="literallayout"><span class="identifier">duration_rep</span> <a name="id-1_3_13_15_3_10_1_1_1_6_1-bb"></a><span class="identifier">get_rep</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns days_ as it's instantiated type - used for streaming </li>
+<li class="listitem"><pre class="literallayout"><span class="identifier">special_values</span> <a name="id-1_3_13_15_3_10_1_1_1_6_2-bb"></a><span class="identifier">as_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
+<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_13_15_3_10_1_1_1_6_3-bb"></a><span class="identifier">is_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
-<pre class="literallayout"><span class="identifier">duration_rep_type</span> <a name="id-1_3_12_15_3_10_1_1_1_6_3-bb"></a><span class="identifier">days</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns days as value, not object. </li>
+<pre class="literallayout"><span class="identifier">duration_rep_type</span> <a name="id-1_3_13_15_3_10_1_1_1_6_4-bb"></a><span class="identifier">days</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns days as value, not object. </li>
<li class="listitem">
-<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_12_15_3_10_1_1_1_6_4-bb"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Equality. </li>
+<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_13_15_3_10_1_1_1_6_5-bb"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Equality. </li>
<li class="listitem">
-<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_12_15_3_10_1_1_1_6_5-bb"></a><span class="keyword">operator</span><span class="special">&lt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Less. </li>
+<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_13_15_3_10_1_1_1_6_6-bb"></a><span class="keyword">operator</span><span class="special">&lt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Less. </li>
<li class="listitem">
-<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_12_15_3_10_1_1_1_6_6-bb"></a><span class="keyword">operator</span><span class="special">-=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre>Subtract another duration &#8211; result is signed. </li>
+<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_13_15_3_10_1_1_1_6_7-bb"></a><span class="keyword">operator</span><span class="special">-=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre>Subtract another duration &#8211; result is signed. </li>
<li class="listitem">
-<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_12_15_3_10_1_1_1_6_7-bb"></a><span class="keyword">operator</span><span class="special">+=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre>Add a duration &#8211; result is signed. </li>
+<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_13_15_3_10_1_1_1_6_8-bb"></a><span class="keyword">operator</span><span class="special">+=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> rhs<span class="special">)</span><span class="special">;</span></pre>Add a duration &#8211; result is signed. </li>
<li class="listitem">
-<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a name="id-1_3_12_15_3_10_1_1_1_6_8-bb"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>unary- Allows for dd = -date_duration(2); -&gt; dd == -2 </li>
+<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a name="id-1_3_13_15_3_10_1_1_1_6_9-bb"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>unary- Allows for dd = -date_duration(2); -&gt; dd == -2 </li>
<li class="listitem">
-<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_12_15_3_10_1_1_1_6_9-bb"></a><span class="keyword">operator</span><span class="special">/=</span><span class="special">(</span><span class="keyword">int</span> divisor<span class="special">)</span><span class="special">;</span></pre>Division operations on a duration with an integer. </li>
+<pre class="literallayout"><a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <span class="special">&amp;</span> <a name="id-1_3_13_15_3_10_1_1_1_6_10-bb"></a><span class="keyword">operator</span><span class="special">/=</span><span class="special">(</span><span class="keyword">int</span> divisor<span class="special">)</span><span class="special">;</span></pre>Division operations on a duration with an integer. </li>
<li class="listitem">
-<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_12_15_3_10_1_1_1_6_10-bb"></a><span class="identifier">is_negative</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>return sign information </li>
+<pre class="literallayout"><span class="keyword">bool</span> <a name="id-1_3_13_15_3_10_1_1_1_6_11-bb"></a><span class="identifier">is_negative</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>return sign information </li>
</ol></div>
</div>
<div class="refsect2">
-<a name="id-1.3.12.15.3.10.3.4.4"></a><h3>
-<a name="id-1_3_12_15_3_10_1_1_1_10-bb"></a><code class="computeroutput">date_duration</code> public static functions</h3>
+<a name="id-1.3.13.15.3.10.3.4.4"></a><h3>
+<a name="id-1_3_13_15_3_10_1_1_1_10-bb"></a><code class="computeroutput">date_duration</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
-<pre class="literallayout"><span class="keyword">static</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a name="id-1_3_12_15_3_10_1_1_1_10_1-bb"></a><span class="identifier">unit</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Returns the smallest duration &#8211; used by to calculate 'end'. </li></ol></div>
+<pre class="literallayout"><span class="keyword">static</span> <a class="link" href="date_duration.html" title="Class template date_duration">date_duration</a> <a name="id-1_3_13_15_3_10_1_1_1_10_1-bb"></a><span class="identifier">unit</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>Returns the smallest duration &#8211; used by to calculate 'end'. </li></ol></div>
</div>
</div>
</div>