Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 2aa62c5bbb658df1fece777472a7bcf2 > files > 2730

barry-devel-docs-0.17-0.3.20100730git.fc14.noarch.rpm

<!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>Barry: time.cc 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.2-20100208 -->
<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="annotated.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="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_65781e9408669bb8d7d9c025fdb5fe86.html">src</a>
  </div>
</div>
<div class="contents">
<h1>time.cc File Reference</h1>
<p>Conversion between time_t and cenmin_t and back.  
<a href="#_details">More...</a></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/>
<div class="dynheader">
Include dependency graph for time.cc:</div>
<div class="dynsection">
<div class="center"><img src="time_8cc__incl.png" border="0" usemap="#time_8cc_map" alt=""/></div>
<map name="time_8cc_map" id="time_8cc">
<area shape="rect" id="node3" href="time_8h.html" title="Time related conversion routines." alt="" coords="415,86,471,117"/><area shape="rect" id="node12" href="endian_8h.html" title="Endian conversion macros." alt="" coords="519,86,591,117"/><area shape="rect" id="node17" href="debug_8h_source.html" title="debug.h" alt="" coords="104,86,173,117"/><area shape="rect" id="node5" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="257,246,303,277"/><area shape="rect" id="node23" href="common_8h.html" title="General header for the Barry library." alt="" coords="239,166,321,197"/><area shape="rect" id="node27" href="log_8h.html" title="General header for the Barry library." alt="" coords="71,166,121,197"/></map>
</div>

<p><a href="time_8cc_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html">Barry</a></td></tr>

<p><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><p>Project namespace, containing all related functions and classes. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const TimeZone *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#ab664177c654a0cb41bc8fc40b39eabda">Barry::GetTimeZoneTable</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to an array of <a class="el" href="structBarry_1_1TimeZone.html">TimeZone</a> structs.  <a href="#ab664177c654a0cb41bc8fc40b39eabda"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const TimeZone *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#a8b42d46bf7b5cb8f4d9e0bde1d61f226">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 <a class="el" href="structBarry_1_1TimeZone.html">TimeZone</a> struct found.  <a href="#a8b42d46bf7b5cb8f4d9e0bde1d61f226"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#a56ac220ad3edcfbefcebb35c685212d1">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="#a56ac220ad3edcfbefcebb35c685212d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#a30255c53ebed390fc98a50e9c5d49984">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="#a30255c53ebed390fc98a50e9c5d49984"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#a2f4e6ee9d4afc6a26ae0166329609600">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="#a2f4e6ee9d4afc6a26ae0166329609600"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">BXEXPORT struct timespec *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry.html#a0e1dc80f82d25739631c39b545f812bb">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="#a0e1dc80f82d25739631c39b545f812bb"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Conversion between time_t and cenmin_t and back. </p>
<p>time_t is the POSIX time, seconds from Jan 1, 1970 min1900_t is the minutes from Jan 1, 1900 </p>

<p>Definition in file <a class="el" href="time_8cc_source.html">time.cc</a>.</p>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>