| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
|---|
| 4 | <title>Struct simple_time_rep</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#id2442818" title="Header <boost/date_time/posix_time/posix_time_config.hpp>"> |
|---|
| 9 | <link rel="prev" href="id2442833.html" title="Class time_duration"> |
|---|
| 10 | <link rel="next" href="posix_time_system_config.html" title="Class posix_time_system_config"> |
|---|
| 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="id2442833.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2442818"><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="posix_time_system_config.html"><img src="images/next.png" alt="Next"></a> |
|---|
| 24 | </div> |
|---|
| 25 | <div class="refentry" lang="en"> |
|---|
| 26 | <a name="simple_time_rep"></a><div class="titlepage"></div> |
|---|
| 27 | <div class="refnamediv"> |
|---|
| 28 | <h2><span class="refentrytitle">Struct simple_time_rep</span></h2> |
|---|
| 29 | <p>boost::posix_time::simple_time_rep — Simple implementation for the time rep. </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"> |
|---|
| 33 | <span class="bold"><strong>struct</strong></span> simple_time_rep { |
|---|
| 34 | <span class="emphasis"><em>// types</em></span> |
|---|
| 35 | <span class="bold"><strong>typedef</strong></span> gregorian::date date_type; |
|---|
| 36 | <span class="bold"><strong>typedef</strong></span> <a href="id2442833.html" title="Class time_duration">time_duration</a> time_duration_type; |
|---|
| 37 | |
|---|
| 38 | <span class="emphasis"><em>// <a href="simple_time_rep.html#simple_time_repconstruct-copy-destruct">construct/copy/destruct</a></em></span> |
|---|
| 39 | <a href="simple_time_rep.html#id2443098-bb">simple_time_rep</a>(date_type, time_duration_type); |
|---|
| 40 | |
|---|
| 41 | <span class="emphasis"><em>// <a href="simple_time_rep.html#id2443042-bb">public member functions</a></em></span> |
|---|
| 42 | <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="simple_time_rep.html#id2443046-bb">is_special</a>() <span class="bold"><strong>const</strong></span>; |
|---|
| 43 | <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="simple_time_rep.html#id2443059-bb">is_pos_infinity</a>() <span class="bold"><strong>const</strong></span>; |
|---|
| 44 | <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="simple_time_rep.html#id2443071-bb">is_neg_infinity</a>() <span class="bold"><strong>const</strong></span>; |
|---|
| 45 | <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="simple_time_rep.html#id2443084-bb">is_not_a_date_time</a>() <span class="bold"><strong>const</strong></span>; |
|---|
| 46 | |
|---|
| 47 | date_type day; |
|---|
| 48 | time_duration_type time_of_day; |
|---|
| 49 | };</pre></div> |
|---|
| 50 | <div class="refsect1" lang="en"> |
|---|
| 51 | <a name="id2677361"></a><h2>Description</h2> |
|---|
| 52 | <div class="refsect2" lang="en"> |
|---|
| 53 | <a name="id2677364"></a><h3> |
|---|
| 54 | <a name="simple_time_repconstruct-copy-destruct"></a><code class="computeroutput">simple_time_rep</code> construct/copy/destruct</h3> |
|---|
| 55 | <div class="orderedlist"><ol type="1"><li><pre class="literallayout"><a name="id2443098-bb"></a>simple_time_rep(date_type d, time_duration_type tod);</pre></li></ol></div> |
|---|
| 56 | </div> |
|---|
| 57 | <div class="refsect2" lang="en"> |
|---|
| 58 | <a name="id2677399"></a><h3> |
|---|
| 59 | <a name="id2443042-bb"></a><code class="computeroutput">simple_time_rep</code> public member functions</h3> |
|---|
| 60 | <div class="orderedlist"><ol type="1"> |
|---|
| 61 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id2443046-bb"></a>is_special() <span class="bold"><strong>const</strong></span>;</pre></li> |
|---|
| 62 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id2443059-bb"></a>is_pos_infinity() <span class="bold"><strong>const</strong></span>;</pre></li> |
|---|
| 63 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id2443071-bb"></a>is_neg_infinity() <span class="bold"><strong>const</strong></span>;</pre></li> |
|---|
| 64 | <li><pre class="literallayout"><span class="type"><span class="bold"><strong>bool</strong></span></span> <a name="id2443084-bb"></a>is_not_a_date_time() <span class="bold"><strong>const</strong></span>;</pre></li> |
|---|
| 65 | </ol></div> |
|---|
| 66 | </div> |
|---|
| 67 | </div> |
|---|
| 68 | </div> |
|---|
| 69 | <table width="100%"><tr> |
|---|
| 70 | <td align="left"></td> |
|---|
| 71 | <td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> |
|---|
| 72 | </tr></table> |
|---|
| 73 | <hr> |
|---|
| 74 | <div class="spirit-nav"> |
|---|
| 75 | <a accesskey="p" href="id2442833.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id2442818"><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="posix_time_system_config.html"><img src="images/next.png" alt="Next"></a> |
|---|
| 76 | </div> |
|---|
| 77 | </body> |
|---|
| 78 | </html> |
|---|