Tarball tree for barry-0.17.0.tar.bz2
[barry.git] / doc / www / doxygen / html / time_8h.html
blob25aabd75e26dad30181db74b5cdf0e799725fc47
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3 <title>Barry: time.h File Reference</title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
6 </head><body>
7 <!-- Generated by Doxygen 1.5.6 -->
8 <div class="navigation" id="top">
9 <div class="tabs">
10 <ul>
11 <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12 <li><a href="modules.html"><span>Modules</span></a></li>
13 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
14 <li><a href="classes.html"><span>Classes</span></a></li>
15 <li class="current"><a href="files.html"><span>Files</span></a></li>
16 <li><a href="dirs.html"><span>Directories</span></a></li>
17 </ul>
18 </div>
19 <div class="navpath"><a class="el" href="dir_edc0f428e3eefcfdce9c25befd901c57.html">src</a>
20 </div>
21 </div>
22 <div class="contents">
23 <h1>time.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
24 Time related conversion routines.
25 <p>
26 time_t is the POSIX time. min1900_t is the minutes from Jan 1, 1900
27 <p>Definition in file <a class="el" href="time_8h-source.html">time.h</a>.</p>
29 <p>
30 <code>#include &quot;<a class="el" href="dll_8h-source.html">dll.h</a>&quot;</code><br>
31 <code>#include &lt;sys/time.h&gt;</code><br>
32 <code>#include &lt;<a class="el" href="time_8h-source.html">time.h</a>&gt;</code><br>
33 <code>#include &lt;stdint.h&gt;</code><br>
35 <p>
36 <div class="dynheader">
37 Include dependency graph for time.h:</div>
38 <div class="dynsection">
39 <p><center><img src="time_8h__incl.png" border="0" usemap="#time.h_map" alt=""></center>
40 <map name="time.h_map">
41 <area shape="rect" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="5,80,51,107"></map>
42 </div>
44 <p>
45 <div class="dynheader">
46 This graph shows which files directly or indirectly include this file:</div>
47 <div class="dynsection">
48 <p><center><img src="time_8h__dep__incl.png" border="0" usemap="#time.hdep_map" alt=""></center>
49 <map name="time.hdep_map">
50 <area shape="rect" href="connector_8h-source.html" title="connector.h" alt="" coords="111,80,199,107"><area shape="rect" href="tzwrapper_8h.html" title="Timezone adjustment class, wrapping the TZ environment variable to make struct tm..." alt="" coords="208,155,296,181"><area shape="rect" href="vformat_8h-source.html" title="vformat.h" alt="" coords="384,80,459,107"><area shape="rect" href="cbarry_8h.html" title="Main header file for Barry C API &#45; incomplete." alt="" coords="483,80,549,107"><area shape="rect" href="dataqueue_8cc.html" title="FIFO queue of Data objects." alt="" coords="573,80,672,107"><area shape="rect" href="m__javaloader_8cc.html" title="Mode class for the JavaLoader mode." alt="" coords="696,80,811,107"><area shape="rect" href="m__jvmdebug_8cc.html" title="Mode class for the JVMDebug mode." alt="" coords="835,80,947,107"><area shape="rect" href="r__bookmark_8cc.html" title="Record parsing class for the phone browser bookmarks database." alt="" coords="971,80,1077,107"><area shape="rect" href="r__calendar_8cc.html" title="Blackberry database record parser class for calendar records." alt="" coords="1101,80,1200,107"><area shape="rect" href="r__calllog_8cc.html" title="Record parsing class for the phone call logs database." alt="" coords="1224,80,1312,107"><area shape="rect" href="r__contact_8cc.html" title="Blackberry database record parser class for contact records." alt="" coords="1336,80,1429,107"><area shape="rect" href="r__folder_8cc.html" title="Record parsing class for the folders database." alt="" coords="1453,80,1533,107"><area shape="rect" href="r__memo_8cc.html" title="Record parsing class for the memo database." alt="" coords="1557,80,1643,107"><area shape="rect" href="r__message__base_8cc.html" title="Base class for email&#45;oriented Blackberry database records." alt="" coords="1667,80,1805,107"><area shape="rect" href="r__recur__base_8cc.html" title="Base class for recurring calendar event data." alt="" coords="1829,80,1944,107"><area shape="rect" href="r__servicebook_8cc.html" title="Blackberry database record parser class for Service Book records." alt="" coords="1968,80,2088,107"><area shape="rect" href="r__sms_8cc.html" title="Record parsing class for the SMS database." alt="" coords="2112,80,2187,107"><area shape="rect" href="r__task_8cc.html" title="Record parsing class for the task database." alt="" coords="2211,80,2285,107"><area shape="rect" href="r__timezone_8cc.html" title="Record parsing class for the timezone database." alt="" coords="2309,80,2413,107"><area shape="rect" href="record_8cc.html" title="Misc." alt="" coords="2437,80,2512,107"><area shape="rect" href="time_8cc.html" title="Conversion between time_t and cenmin_t and back." alt="" coords="2536,80,2600,107"><area shape="rect" href="bjavaloader_8cc.html" title="bjavaloader.cc" alt="" coords="2624,80,2728,107"><area shape="rect" href="barry_8h.html" title="Main header file for applications." alt="" coords="125,155,184,181"><area shape="rect" href="connector_8cc-source.html" title="connector.cc" alt="" coords="5,155,101,181"><area shape="rect" href="barrysync_8h.html" title="Main header file for libbarrysync." alt="" coords="401,304,489,331"><area shape="rect" href="tzwrapper_8cc.html" title="Timezone adjustment class, wrapping the TZ environment variable to make struct tm..." alt="" coords="116,229,209,256"><area shape="rect" href="vbase_8cc-source.html" title="vbase.cc" alt="" coords="284,229,359,256"><area shape="rect" href="vbase_8h.html" title="Base class for vformat support." alt="" coords="520,155,587,181"><area shape="rect" href="vevent_8h-source.html" title="vevent.h" alt="" coords="609,229,681,256"><area shape="rect" href="vjournal_8h-source.html" title="vjournal.h" alt="" coords="705,229,783,256"><area shape="rect" href="vtodo_8h-source.html" title="vtodo.h" alt="" coords="383,229,447,256"><area shape="rect" href="vformat_8c-source.html" title="vformat.c" alt="" coords="421,155,496,181"><area shape="rect" href="vcard_8h.html" title="Conversion routines for vcards." alt="" coords="521,229,585,256"><area shape="rect" href="mimeio_8cc.html" title="Storage, parser, builder classes for MIME objects (vcard, vevent, vtodo, vjournal)..." alt="" coords="609,304,689,331"><area shape="rect" href="vcard_8cc.html" title="Conversion routines for vcards." alt="" coords="513,304,585,331"><area shape="rect" href="vevent_8cc-source.html" title="vevent.cc" alt="" coords="713,304,791,331"><area shape="rect" href="vjournal_8cc-source.html" title="vjournal.cc" alt="" coords="815,304,897,331"><area shape="rect" href="vtodo_8cc-source.html" title="vtodo.cc" alt="" coords="305,304,377,331"></map>
51 </div>
53 <p>
54 <a href="time_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
55 <tr><td></td></tr>
56 <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html">Barry</a></td></tr>
59 <tr><td colspan="2"><br><h2>Classes</h2></td></tr>
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>Barry::TimeZone</b></td></tr>
62 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
63 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TimeZone *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#b664177c654a0cb41bc8fc40b39eabda">Barry::GetTimeZoneTable</a> ()</td></tr>
65 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to an array of TimeZone structs. <a href="#b664177c654a0cb41bc8fc40b39eabda"></a><br></td></tr>
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TimeZone *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#8b42d46bf7b5cb8f4d9e0bde1d61f226">Barry::GetTimeZone</a> (unsigned short Code)</td></tr>
68 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Searches the internal timezone code table for the given Code and returns a pointer to a TimeZone struct found. <a href="#8b42d46bf7b5cb8f4d9e0bde1d61f226"></a><br></td></tr>
69 <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#56ac220ad3edcfbefcebb35c685212d1">Barry::GetTimeZoneCode</a> (signed short HourOffset, signed short MinOffset)</td></tr>
71 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Searches the internal timezone table for the first matching Code. <a href="#56ac220ad3edcfbefcebb35c685212d1"></a><br></td></tr>
72 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#30255c53ebed390fc98a50e9c5d49984">Barry::DayToDate</a> (unsigned short Day)</td></tr>
74 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine takes the day of the year and returns a time_t adjusted from the first of the year. <a href="#30255c53ebed390fc98a50e9c5d49984"></a><br></td></tr>
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#2f4e6ee9d4afc6a26ae0166329609600">Barry::Message2Time</a> (uint16_t r_date, uint16_t r_time)</td></tr>
77 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Localize the funky math used to convert a Blackberry message timestamp into a time_t. <a href="#2f4e6ee9d4afc6a26ae0166329609600"></a><br></td></tr>
78 <tr><td class="memItemLeft" nowrap align="right" valign="top">BXEXPORT struct timespec *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#0e1dc80f82d25739631c39b545f812bb">Barry::ThreadTimeout</a> (int timeout_ms, struct timespec *spec)</td></tr>
80 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a pthread_cond_timedwait() compatible timespec struct, based on a given timeout in milliseconds. <a href="#0e1dc80f82d25739631c39b545f812bb"></a><br></td></tr>
81 </table>
82 </div>
83 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 10 16:14:31 2011 for Barry by&nbsp;
84 <a href="http://www.doxygen.org/index.html">
85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
86 </body>
87 </html>