Sophie

Sophie

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

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: tzwrapper.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>tzwrapper.cc File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Timezone adjustment class, wrapping the TZ environment variable to make struct tm -&gt; time_t conversions easier. 
<p>

<p>Definition in file <a class="el" href="tzwrapper_8cc-source.html">tzwrapper.cc</a>.</p>

<p>
<code>#include &quot;<a class="el" href="tzwrapper_8h-source.html">tzwrapper.h</a>&quot;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;string&gt;</code><br>

<p>
<div class="dynheader">
Include dependency graph for tzwrapper.cc:</div>
<div class="dynsection">
<p><center><img src="tzwrapper_8cc__incl.png" border="0" usemap="#tzwrapper.cc_map" alt=""></center>
<map name="tzwrapper.cc_map">
<area shape="rect" href="tzwrapper_8h.html" title="Timezone adjustment class, wrapping the TZ environment variable to make struct tm..." alt="" coords="69,80,157,107"><area shape="rect" href="dll_8h.html" title="Macros for handling DLL/library API visibility." alt="" coords="61,229,107,256"><area shape="rect" href="time_8h.html" title="Time related conversion routines." alt="" coords="133,155,189,181"></map>
</div>

<p>
<a href="tzwrapper_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 class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>Barry::Sync</b></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></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_1_1Sync.html#6beb1b54fbd8c53c81303285e9e2a742">Barry::Sync::utc_mktime</a> (struct tm *utctime)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">utc_mktime() converts a struct tm that contains broken down time in utc to a time_t.  <a href="#6beb1b54fbd8c53c81303285e9e2a742"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct tm *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry_1_1Sync.html#79b551a17561ee6d4c105cda6f56d636">Barry::Sync::iso_to_tm</a> (const char *timestamp, struct tm *result, bool &amp;utc, bool *zone=0, int *zoneminutes=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parses ISO timestamp in the format of YYYYMMDDTHHMMSS[Z] or YYYY-MM-DDTHH:MM:SS.uuu-HH:MM and places broken down time in result.  <a href="#79b551a17561ee6d4c105cda6f56d636"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceBarry_1_1Sync.html#b78a05972e4aa3b6ac064125259a731e">Barry::Sync::tm_to_iso</a> (const struct tm *t, bool utc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Turns the struct tm into an ISO timestamp in the format of YYYYMMDDTHHMMSS[Z].  <a href="#b78a05972e4aa3b6ac064125259a731e"></a><br></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:52 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>