Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > abb2634846290d27f545cecded067e1f > files > 1938

barry-devel-docs-0.17.1-4.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Barry: time.cc File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_3e14c0bb4416cf979afc3165665fc916.html">src</a>
  </div>
</div>
<div class="contents">
<h1>time.cc File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Conversion between time_t and cenmin_t and back. 
<p>
time_t is the POSIX time, seconds from Jan 1, 1970 min1900_t is the minutes from Jan 1, 1900 
<p>Definition in file <a class="el" href="time_8cc-source.html">time.cc</a>.</p>

<p>
<code>#include &quot;<a class="el" href="time_8h-source.html">time.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="endian_8h-source.html">endian.h</a>&quot;</code><br>
<code>#include &quot;debug.h&quot;</code><br>

<p>
<div class="dynheader">
Include dependency graph for time.cc:</div>
<div class="dynsection">
<p><center><img src="time_8cc__incl.png" border="0" usemap="#time.cc_map" alt=""></center>
<map name="time.cc_map">
<area shape="rect" href="time_8h.html" title="Time related conversion routines." alt="" coords="411,80,467,107"><area shape="rect" href="endian_8h.html" title="Endian conversion macros." alt="" coords="515,80,584,107"><area shape="rect" href="debug_8h-source.html" title="debug.h" alt="" coords="103,80,169,107"><area shape="rect" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="252,229,297,256"><area shape="rect" href="common_8h.html" title="General header for the Barry library." alt="" coords="233,155,316,181"><area shape="rect" href="log_8h.html" title="General header for the Barry library." alt="" coords="71,155,119,181"></map>
</div>

<p>
<a href="time_8cc-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<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>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<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>

<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>
<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>

<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>
<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>

<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>
<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>

<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>
<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>

<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>
<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>

<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>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:51 2011 for Barry by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>