summaryrefslogtreecommitdiff
path: root/doc/html/date_time/posix_time.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/date_time/posix_time.html')
-rw-r--r--[-rwxr-xr-x]doc/html/date_time/posix_time.html66
1 files changed, 33 insertions, 33 deletions
diff --git a/doc/html/date_time/posix_time.html b/doc/html/date_time/posix_time.html
index ce208c0446..1200e466c9 100755..100644
--- a/doc/html/date_time/posix_time.html
+++ b/doc/html/date_time/posix_time.html
@@ -32,18 +32,18 @@
<dt><span class="section"><a href="posix_time.html#date_time.posix_time.time_iterators">Time Iterators</a></span></dt>
</dl></div>
<h3>
-<a name="id1293590"></a>Posix Time System</h3>
+<a name="id1309695"></a>Posix Time System</h3>
<p>
<a class="link" href="posix_time.html#posix_intro">Introduction</a> --
<a class="link" href="posix_time.html#posix_ex">Usage Examples</a>
</p>
<a name="posix_intro"></a><h4>
-<a name="id1293622"></a>Introduction</h4>
+<a name="id1309726"></a>Introduction</h4>
<p>
Defines a non-adjusted time system with nano-second/micro-second resolution and stable calculation properties. The nano-second resolution option uses 96 bits of underlying storage for each ptime while the micro-second resolution uses 64 bits per ptime (see <a class="link" href="details.html#date_time.buildinfo" title="Build-Compiler Information">Build Options</a> for details). This time system uses the Gregorian calendar to implement the date portion of the time representation.
</p>
<a name="posix_ex"></a><h4>
-<a name="id1293651"></a>Usage Examples</h4>
+<a name="id1309756"></a>Usage Examples</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -89,7 +89,7 @@
<a class="link" href="posix_time.html#ptime_to_string">Conversion To String</a> --
<a class="link" href="posix_time.html#ptime_operators">Operators</a> --
<a class="link" href="posix_time.html#ptime_struct_tm">Struct tm, time_t, and FILETIME Functions</a><a name="ptime_intro"></a><h4>
-<a name="id1293859"></a>Introduction</h4>
+<a name="id1309963"></a>Introduction</h4>
<p>
The class boost::posix_time::ptime is the primary interface for time point manipulation. In general, the ptime class is immutable once constructed although it does allow assignment.
</p>
@@ -100,7 +100,7 @@
Other techniques for creating times include <a class="link" href="posix_time.html#date_time.posix_time.time_iterators" title="Time Iterators">time iterators</a>.
</p>
<a name="ptime_header"></a><h4>
-<a name="id1293902"></a>Header</h4>
+<a name="id1310007"></a>Header</h4>
<p>
</p>
<pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o
@@ -109,7 +109,7 @@ or
<p>
</p>
<a name="ptime_constr"></a><h4>
-<a name="id1293925"></a>Construction</h4>
+<a name="id1310030"></a>Construction</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -159,7 +159,7 @@ ptime d5(min_date_time);</pre></td></tr>
<p>
</p>
<a name="ptime_from_string"></a><h4>
-<a name="id1294098"></a>Construct from String</h4>
+<a name="id1310202"></a>Construct from String</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -192,7 +192,7 @@ ptime t(from_iso_string(ts))</pre></td></tr>
<p>
</p>
<a name="ptime_from_clock"></a><h4>
-<a name="id1294217"></a>Construct from Clock</h4>
+<a name="id1310322"></a>Construct from Clock</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -233,7 +233,7 @@ ptime t(from_iso_string(ts))</pre></td></tr>
<p>
</p>
<a name="ptime_from_funcs"></a><h4>
-<a name="id1294394"></a>Construct using Conversion Functions</h4>
+<a name="id1310770"></a>Construct using Conversion Functions</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -264,7 +264,7 @@ ptime t(from_iso_string(ts))</pre></td></tr>
<p>
</p>
<a name="ptime_accessors"></a><h4>
-<a name="id1294504"></a>Accessors</h4>
+<a name="id1310879"></a>Accessors</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -338,7 +338,7 @@ pt3.is_special(); // --&gt; false</pre></td></tr>
<p>
</p>
<a name="ptime_to_string"></a><h4>
-<a name="id1294754"></a>Conversion to String</h4>
+<a name="id1311129"></a>Conversion to String</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -374,7 +374,7 @@ pt3.is_special(); // --&gt; false</pre></td></tr>
<p>
</p>
<a name="ptime_operators"></a><h4>
-<a name="id1294940"></a>Operators</h4>
+<a name="id1311316"></a>Operators</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -463,7 +463,7 @@ time_duration t3 = t2 - t1;//negative result</pre>
<p>
</p>
<a name="ptime_struct_tm"></a><h4>
-<a name="id1295219"></a>Struct tm, time_t, and FILETIME Functions</h4>
+<a name="id1311596"></a>Struct tm, time_t, and FILETIME Functions</h4>
<p>Functions for converting posix_time objects to, and from, <code class="computeroutput">tm</code> structs are provided as well as conversion from <code class="computeroutput">time_t</code> and <code class="computeroutput">FILETIME</code>.</p>
<div class="informaltable"><table class="table">
<colgroup>
@@ -560,7 +560,7 @@ ptime pt = from_ftime&lt;ptime&gt;(ft);
<a class="link" href="posix_time.html#time_duration_to_string">Conversion To String</a> --
<a class="link" href="posix_time.html#time_duration_operators">Operators</a> --
<a class="link" href="posix_time.html#time_duration_struct_tm">Struct tm Functions</a><a name="time_duration_intro"></a><h4>
-<a name="id1295654"></a>Introduction</h4>
+<a name="id1312030"></a>Introduction</h4>
<p>
The class boost::posix_time::time_duration the base type responsible for representing a length of time. A duration can be either positive or negative. The general time_duration class provides a constructor that takes a count of the number of hours, minutes, seconds, and fractional seconds count as shown in the code fragment below. The resolution of the time_duration is configure able at compile time. See <a class="link" href="details.html#date_time.buildinfo" title="Build-Compiler Information">Build-Compiler Information</a> for more information.
</p>
@@ -608,7 +608,7 @@ time_duration td(1,2,3,count); //01:02:03.5 //no matter the resolution settings
<p>
</p>
<a name="time_duration_header"></a><h4>
-<a name="id1295756"></a>Header</h4>
+<a name="id1312132"></a>Header</h4>
<p>
</p>
<pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o
@@ -617,7 +617,7 @@ or
<p>
</p>
<a name="time_duration_constr"></a><h4>
-<a name="id1295780"></a>Construction</h4>
+<a name="id1312156"></a>Construction</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -662,7 +662,7 @@ total_seconds()</pre>The remaining accessor functions will work as expected.</td
<p>
</p>
<a name="time_duration_count_constr"></a><h4>
-<a name="id1295863"></a>Count Based Construction</h4>
+<a name="id1312238"></a>Count Based Construction</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -713,7 +713,7 @@ total_seconds()</pre>The remaining accessor functions will work as expected.</td
<p>
</p>
<a name="time_duration_from_string"></a><h4>
-<a name="id1296132"></a>Construct from String</h4>
+<a name="id1312508"></a>Construct from String</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -742,7 +742,7 @@ time_duration td(duration_from_string(ts));</pre>
<p>
</p>
<a name="time_duration_accessors"></a><h4>
-<a name="id1296225"></a>Accessors</h4>
+<a name="id1312600"></a>Accessors</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -905,7 +905,7 @@ td3.is_special(); // --&gt; false</pre></td></tr>
<p>
</p>
<a name="time_duration_to_string"></a><h4>
-<a name="id1296945"></a>Conversion To String</h4>
+<a name="id1313320"></a>Conversion To String</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -936,7 +936,7 @@ td3.is_special(); // --&gt; false</pre></td></tr>
<p>
</p>
<a name="time_duration_operators"></a><h4>
-<a name="id1297086"></a>Operators</h4>
+<a name="id1313462"></a>Operators</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1007,7 +1007,7 @@ nanosecond(3)/2 == nanosecond(1);</pre>
<p>
</p>
<a name="time_duration_struct_tm"></a><h4>
-<a name="id1297334"></a>Struct tm, time_t, and FILETIME Functions</h4>
+<a name="id1313710"></a>Struct tm, time_t, and FILETIME Functions</h4>
<p>Function for converting a time_duration to a <code class="computeroutput">tm</code> struct is provided.</p>
<div class="informaltable"><table class="table">
<colgroup>
@@ -1052,7 +1052,7 @@ tm td_tm = to_tm(td);
<a class="link" href="posix_time.html#time_period_accessors">Accessors</a> --
<a class="link" href="posix_time.html#time_period_to_string">Conversion To String</a> --
<a class="link" href="posix_time.html#time_period_operators">Operators</a><a name="time_period_intro"></a><h4>
-<a name="id1297546"></a>Introduction</h4>
+<a name="id1313922"></a>Introduction</h4>
<p>
The class boost::posix_time::time_period provides direct representation for ranges between two times. Periods provide the ability to simplify some types of calculations by simplifying the conditional logic of the program.
</p>
@@ -1063,7 +1063,7 @@ tm td_tm = to_tm(td);
The <a class="link" href="examples.html#date_time.examples.time_periods" title="Time Periods">time periods example</a> provides an example of using time periods.
</p>
<a name="time_period_header"></a><h4>
-<a name="id1297597"></a>Header</h4>
+<a name="id1313973"></a>Header</h4>
<p>
</p>
<pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o
@@ -1072,7 +1072,7 @@ or
<p>
</p>
<a name="time_period_constr"></a><h4>
-<a name="id1297620"></a>Construction</h4>
+<a name="id1313996"></a>Construction</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1119,7 +1119,7 @@ time_period tp(t, hours(3));</pre>
<p>
</p>
<a name="time_period_mutators"></a><h4>
-<a name="id1297768"></a>Mutators</h4>
+<a name="id1314144"></a>Mutators</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1162,7 +1162,7 @@ tp.expand(minutes(5));
<p>
</p>
<a name="time_period_accessors"></a><h4>
-<a name="id1297884"></a>Accessors</h4>
+<a name="id1314260"></a>Accessors</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1289,7 +1289,7 @@ tp2.intersects(tp1); // --&gt; true</pre>
<p>
</p>
<a name="time_period_to_string"></a><h4>
-<a name="id1298150"></a>Conversion To String</h4>
+<a name="id1314526"></a>Conversion To String</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1318,7 +1318,7 @@ tp2.intersects(tp1); // --&gt; true</pre>
<p>
</p>
<a name="time_period_operators"></a><h4>
-<a name="id1298369"></a>Operators</h4>
+<a name="id1314745"></a>Operators</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1378,7 +1378,7 @@ tp2.intersects(tp1); // --&gt; true</pre>
<a class="link" href="posix_time.html#time_iter_header">Header</a> --
<a class="link" href="posix_time.html#time_iter_overview">Overview</a> --
<a class="link" href="posix_time.html#time_iter_operators">Operators</a><a name="time_iter_intro"></a><h4>
-<a name="id1298664"></a>Introduction</h4>
+<a name="id1315039"></a>Introduction</h4>
<p>
Time iterators provide a mechanism for iteration through times. Time iterators are similar to <a href="http://www.sgi.com/tech/stl/BidirectionalIterator.html" target="_top">Bidirectional Iterators</a>. However, time_iterators are different than standard iterators in that there is no underlying sequence, just a calculation function. In addition, time_iterators are directly comparable against instances of <a class="link" href="posix_time.html#date_time.posix_time.ptime_class" title="Ptime">class ptime</a>. Thus a second iterator for the end point of the iteration is not required, but rather a point in time can be used directly. For example, the following code iterates using a 15 minute iteration interval. The <a class="link" href="examples.html#date_time.examples.print_hours" title="Print Hours">print hours</a> example also illustrates the use of the time_iterator.
</p>
@@ -1416,7 +1416,7 @@ tp2.intersects(tp1); // --&gt; true</pre>
<p>
</p>
<a name="time_iter_header"></a><h4>
-<a name="id1298714"></a>Header</h4>
+<a name="id1315089"></a>Header</h4>
<p>
</p>
<pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o
@@ -1425,7 +1425,7 @@ or
<p>
</p>
<a name="time_iter_overview"></a><h4>
-<a name="id1298744"></a>Overview</h4>
+<a name="id1315118"></a>Overview</h4>
<p>
</p>
<div class="informaltable"><table class="table">
@@ -1451,7 +1451,7 @@ or
<p>
</p>
<a name="time_iter_operators"></a><h4>
-<a name="id1298824"></a>Operators</h4>
+<a name="id1315198"></a>Operators</h4>
<p>
</p>
<div class="informaltable"><table class="table">