diff options
Diffstat (limited to 'doc/html/date_time/posix_time.html')
-rw-r--r-- | doc/html/date_time/posix_time.html | 66 |
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 1331d5e8a1..14eeee8333 100644 --- a/doc/html/date_time/posix_time.html +++ b/doc/html/date_time/posix_time.html @@ -33,18 +33,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="idp187091728"></a>Posix Time System</h3> +<a name="idp205915264"></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="idp187095488"></a>Introduction</h4> +<a name="idp205919024"></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="idp187098640"></a>Usage Examples</h4> +<a name="idp205922176"></a>Usage Examples</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -90,7 +90,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="idp187122576"></a>Introduction</h4> +<a name="idp205946176"></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> @@ -101,7 +101,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="idp187127424"></a>Header</h4> +<a name="idp205951024"></a>Header</h4> <p> </p> <pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o @@ -110,7 +110,7 @@ or <p> </p> <a name="ptime_constr"></a><h4> -<a name="idp187130016"></a>Construction</h4> +<a name="idp205953616"></a>Construction</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -160,7 +160,7 @@ ptime d5(min_date_time);</pre></td></tr> <p> </p> <a name="ptime_from_string"></a><h4> -<a name="idp187150224"></a>Construct from String</h4> +<a name="idp205973824"></a>Construct from String</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -193,7 +193,7 @@ ptime t(from_iso_string(ts))</pre></td></tr> <p> </p> <a name="ptime_from_clock"></a><h4> -<a name="idp187164272"></a>Construct from Clock</h4> +<a name="idp205987872"></a>Construct from Clock</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -234,7 +234,7 @@ ptime t(from_iso_string(ts))</pre></td></tr> <p> </p> <a name="ptime_from_funcs"></a><h4> -<a name="idp187184960"></a>Construct using Conversion Functions</h4> +<a name="idp206008560"></a>Construct using Conversion Functions</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -265,7 +265,7 @@ ptime t(from_iso_string(ts))</pre></td></tr> <p> </p> <a name="ptime_accessors"></a><h4> -<a name="idp187198032"></a>Accessors</h4> +<a name="idp206021632"></a>Accessors</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -339,7 +339,7 @@ pt3.is_special(); // --> false</pre></td></tr> <p> </p> <a name="ptime_to_string"></a><h4> -<a name="idp187229200"></a>Conversion to String</h4> +<a name="idp206052736"></a>Conversion to String</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -375,7 +375,7 @@ pt3.is_special(); // --> false</pre></td></tr> <p> </p> <a name="ptime_operators"></a><h4> -<a name="idp187249792"></a>Operators</h4> +<a name="idp206073328"></a>Operators</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -464,7 +464,7 @@ time_duration t3 = t2 - t1;//negative result</pre> <p> </p> <a name="ptime_struct_tm"></a><h4> -<a name="idp187282512"></a>Struct tm, time_t, and FILETIME Functions</h4> +<a name="idp206106048"></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> @@ -561,7 +561,7 @@ ptime pt = from_ftime<ptime>(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="idp187332496"></a>Introduction</h4> +<a name="idp206155936"></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> @@ -609,7 +609,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="idp187342736"></a>Header</h4> +<a name="idp206166176"></a>Header</h4> <p> </p> <pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o @@ -618,7 +618,7 @@ or <p> </p> <a name="time_duration_constr"></a><h4> -<a name="idp187345328"></a>Construction</h4> +<a name="idp206168768"></a>Construction</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -663,7 +663,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="idp187360304"></a>Count Based Construction</h4> +<a name="idp206183808"></a>Count Based Construction</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -714,7 +714,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="idp187386496"></a>Construct from String</h4> +<a name="idp206210000"></a>Construct from String</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -743,7 +743,7 @@ time_duration td(duration_from_string(ts));</pre> <p> </p> <a name="time_duration_accessors"></a><h4> -<a name="idp187397296"></a>Accessors</h4> +<a name="idp206220800"></a>Accessors</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -906,7 +906,7 @@ td3.is_special(); // --> false</pre></td></tr> <p> </p> <a name="time_duration_to_string"></a><h4> -<a name="idp187484704"></a>Conversion To String</h4> +<a name="idp206308208"></a>Conversion To String</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -937,7 +937,7 @@ td3.is_special(); // --> false</pre></td></tr> <p> </p> <a name="time_duration_operators"></a><h4> -<a name="idp187499792"></a>Operators</h4> +<a name="idp206323232"></a>Operators</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1008,7 +1008,7 @@ nanosecond(3)/2 == nanosecond(1);</pre> <p> </p> <a name="time_duration_struct_tm"></a><h4> -<a name="idp187528752"></a>Struct tm, time_t, and FILETIME Functions</h4> +<a name="idp206352256"></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> @@ -1053,7 +1053,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="idp187553392"></a>Introduction</h4> +<a name="idp206376880"></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> @@ -1064,7 +1064,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="idp187558880"></a>Header</h4> +<a name="idp206382368"></a>Header</h4> <p> </p> <pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o @@ -1073,7 +1073,7 @@ or <p> </p> <a name="time_period_constr"></a><h4> -<a name="idp187561472"></a>Construction</h4> +<a name="idp206384960"></a>Construction</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1120,7 +1120,7 @@ time_period tp(t, hours(3));</pre> <p> </p> <a name="time_period_mutators"></a><h4> -<a name="idp187578528"></a>Mutators</h4> +<a name="idp206402016"></a>Mutators</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1163,7 +1163,7 @@ tp.expand(minutes(5)); <p> </p> <a name="time_period_accessors"></a><h4> -<a name="idp187592256"></a>Accessors</h4> +<a name="idp206415680"></a>Accessors</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1290,7 +1290,7 @@ tp2.intersects(tp1); // --> true</pre> <p> </p> <a name="time_period_to_string"></a><h4> -<a name="idp187636752"></a>Conversion To String</h4> +<a name="idp206460176"></a>Conversion To String</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1319,7 +1319,7 @@ tp2.intersects(tp1); // --> true</pre> <p> </p> <a name="time_period_operators"></a><h4> -<a name="idp187647872"></a>Operators</h4> +<a name="idp206471296"></a>Operators</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1379,7 +1379,7 @@ tp2.intersects(tp1); // --> 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="idp187682208"></a>Introduction</h4> +<a name="idp206505632"></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> @@ -1417,7 +1417,7 @@ tp2.intersects(tp1); // --> true</pre> <p> </p> <a name="time_iter_header"></a><h4> -<a name="idp187689136"></a>Header</h4> +<a name="idp206512560"></a>Header</h4> <p> </p> <pre class="programlisting">#include "boost/date_time/posix_time/posix_time.hpp" //include all types plus i/o @@ -1426,7 +1426,7 @@ or <p> </p> <a name="time_iter_overview"></a><h4> -<a name="idp187691728"></a>Overview</h4> +<a name="idp206515152"></a>Overview</h4> <p> </p> <div class="informaltable"><table class="table"> @@ -1452,7 +1452,7 @@ or <p> </p> <a name="time_iter_operators"></a><h4> -<a name="idp187701360"></a>Operators</h4> +<a name="idp206524784"></a>Operators</h4> <p> </p> <div class="informaltable"><table class="table"> |