<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>ucommon: ucommon/datetime.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div> <div class="contents"> <h1>ucommon/datetime.h File Reference</h1> <p>Basic classes for manipulating time and date based data, particularly that may be in strings. <a href="#_details">More...</a></p> <code>#include <<a class="el" href="a00194_source.html">ucommon/platform.h</a>></code><br/> <code>#include <<a class="el" href="a00191_source.html">ucommon/numbers.h</a>></code><br/> <code>#include <<a class="el" href="a00201_source.html">ucommon/string.h</a>></code><br/> <code>#include <time.h></code><br/> <div class="dynheader"> Include dependency graph for datetime.h:</div> <div class="dynsection"> <div class="center"><img src="a00233.png" border="0" usemap="#ucommon_2datetime_8h_map" alt=""/></div> <map name="ucommon_2datetime_8h_map" id="ucommon_2datetime_8h"> <area shape="rect" id="node3" href="a00194.html" title="Various miscellaneous platform specific headers and defines." alt="" coords="841,304,1044,331"/><area shape="rect" id="node26" href="a00191.html" title="Support classes for manipulation of numbers as strings." alt="" coords="741,80,933,107"/><area shape="rect" id="node29" href="a00201.html" title="A common string class and character string support functions." alt="" coords="995,80,1176,107"/><area shape="rect" id="node32" href="a00186.html" title="Generic templates for C++." alt="" coords="1244,229,1447,256"/><area shape="rect" id="node40" href="a00195.html" title="Abstract interfaces and support." alt="" coords="837,229,1048,256"/><area shape="rect" id="node43" href="a00192.html" title="A common object base class with auto-pointer support." alt="" coords="1123,155,1304,181"/></map> </div> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> <div class="center"><img src="a00234.png" border="0" usemap="#ucommon_2datetime_8hdep_map" alt=""/></div> <map name="ucommon_2datetime_8hdep_map" id="ucommon_2datetime_8hdep"> <area shape="rect" id="node3" href="a00204.html" title="Top level include file for the GNU uCommon C++ core library." alt="" coords="11,80,203,107"/><area shape="rect" id="node5" href="a00196.html" title="This library holds basic cryptographic functions and secure socket support for use..." alt="" coords="16,155,197,181"/></map> </div> <p><a href="a00183_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00041.html">ucommon::Date</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="a00041.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> class uses a julian date representation of the current year, month, and day. <a href="a00041.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00042.html">ucommon::DateNumber</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A number class that manipulates a string buffer that is also a date. <a href="a00042.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00043.html">ucommon::DateTime</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time. <a href="a00043.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00044.html">ucommon::DateTimeString</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="a00043.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> string class. <a href="a00044.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a00160.html">ucommon::Time</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="a00160.html" title="The Time class uses a integer representation of the current time.">Time</a> class uses a integer representation of the current time. <a href="a00160.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html">ucommon</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Common namespace for all ucommon objects. </p> <br/></td></tr> </p> <tr><td colspan="2"><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8612d0143ca5725f057e2dfc964b838b"></a><!-- doxytag: member="datetime.h::DATE_BUFFER_SIZE" ref="a8612d0143ca5725f057e2dfc964b838b" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>DATE_BUFFER_SIZE</b> 11</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f5179bcc4052fb0741248589266ea4b"></a><!-- doxytag: member="datetime.h::DATE_STRING_SIZE" ref="a1f5179bcc4052fb0741248589266ea4b" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>DATE_STRING_SIZE</b> 10</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaea6ac99c28c890fd4f5e4c1efd26834"></a><!-- doxytag: member="datetime.h::DATETIME_BUFFER_SIZE" ref="aaea6ac99c28c890fd4f5e4c1efd26834" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>DATETIME_BUFFER_SIZE</b> 20</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2afa1079625f51a032ea458fdc22f729"></a><!-- doxytag: member="datetime.h::DATETIME_STRING_SIZE" ref="a2afa1079625f51a032ea458fdc22f729" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>DATETIME_STRING_SIZE</b> 19</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a884764c5aeb5e39b20c35a985b0cf0d3"></a><!-- doxytag: member="datetime.h::TIME_BUFFER_SIZE" ref="a884764c5aeb5e39b20c35a985b0cf0d3" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>TIME_BUFFER_SIZE</b> 9</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbcf2f62c27dafd2ffd2b6ace8d010b4"></a><!-- doxytag: member="datetime.h::TIME_STRING_SIZE" ref="afbcf2f62c27dafd2ffd2b6ace8d010b4" args="" --> #define </td><td class="memItemRight" valign="bottom"><b>TIME_STRING_SIZE</b> 8</td></tr> <tr><td colspan="2"><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3bbcc3209f86b0c1f16939ba88c31d5"></a><!-- doxytag: member="datetime.h::date_t" ref="aa3bbcc3209f86b0c1f16939ba88c31d5" args="" --> typedef Date </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#aa3bbcc3209f86b0c1f16939ba88c31d5">ucommon::date_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience type for using <a class="el" href="a00041.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> object. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f215febf17a332d3f8cb8aa9c19616a"></a><!-- doxytag: member="datetime.h::datetime_t" ref="a1f215febf17a332d3f8cb8aa9c19616a" args="" --> typedef DateTime </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a1f215febf17a332d3f8cb8aa9c19616a">ucommon::datetime_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience type for using <a class="el" href="a00043.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> object. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48346b267d95efc2e141f1ac5568a22a"></a><!-- doxytag: member="datetime.h::datetimestring_t" ref="a48346b267d95efc2e141f1ac5568a22a" args="" --> typedef DateTimeString </td><td class="memItemRight" valign="bottom"><a class="el" href="a00208.html#a48346b267d95efc2e141f1ac5568a22a">ucommon::datetimestring_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience type for using <a class="el" href="a00044.html" title="A DateTime string class.">DateTimeString</a> object. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fea857c30e2c901566fcf45fac68ac5"></a><!-- doxytag: member="datetime.h::tm_t" ref="a2fea857c30e2c901566fcf45fac68ac5" args="" --> typedef struct tm </td><td class="memItemRight" valign="bottom"><a class="el" href="a00183.html#a2fea857c30e2c901566fcf45fac68ac5">tm_t</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience type for struct tm. <br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Basic classes for manipulating time and date based data, particularly that may be in strings. </p> <p>Definition in file <a class="el" href="a00183_source.html">datetime.h</a>.</p> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Jul 14 16:39:00 2011 for ucommon by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>