archeus/doc/doxygen/html/de/df7/time_8h.html

203 lines
11 KiB
HTML

<!-- HTML header for doxygen 1.9.2-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="dark-mode">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Archeus: /home/herbglitch/programs/archeus/arc/include/arc/std/time.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="../../doxygen-awesome-sidebar-only.css" rel="stylesheet" type="text/css"/>
<link href="../../doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../doxygen-awesome-darkmode-toggle.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Archeus<span id="projectnumber">&#160;0.0.0</span>
</div>
<div id="projectbrief">A C library and game engine that focuses on documentation</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('de/df7/time_8h.html','../../'); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">time.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &lt;<a class="el" href="../../de/df7/time_8h_source.html">time.h</a>&gt;</code><br />
</div>
<p><a href="../../de/df7/time_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/dba/structARC__Time.html">ARC_Time</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">the <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> data structre based on <a class="el" href="../../de/df7/time_8h.html">time.h</a> (mainly added to avoid having to type <code>struct tm</code> every time) <a href="../../da/dba/structARC__Time.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a7bbd69c14efedf01108730576c87c3d1" id="r_a7bbd69c14efedf01108730576c87c3d1"><td class="memItemLeft" align="right" valign="top">typedef struct ARC_Time&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7bbd69c14efedf01108730576c87c3d1">ARC_Time</a></td></tr>
<tr class="memdesc:a7bbd69c14efedf01108730576c87c3d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">the <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> data structre based on <a class="el" href="../../de/df7/time_8h.html">time.h</a> (mainly added to avoid having to type <code>struct tm</code> every time) <br /></td></tr>
<tr class="separator:a7bbd69c14efedf01108730576c87c3d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a77e3c70990681ec05eef64214b61efab" id="r_a77e3c70990681ec05eef64214b61efab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../da/dba/structARC__Time.html">ARC_Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a77e3c70990681ec05eef64214b61efab">ARC_Time_CopyFromStructTmPtr</a> (struct tm *time)</td></tr>
<tr class="memdesc:a77e3c70990681ec05eef64214b61efab"><td class="mdescLeft">&#160;</td><td class="mdescRight">copies the contents of a tm struct pointer into the <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> type <br /></td></tr>
<tr class="separator:a77e3c70990681ec05eef64214b61efab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a7bbd69c14efedf01108730576c87c3d1" name="a7bbd69c14efedf01108730576c87c3d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bbd69c14efedf01108730576c87c3d1">&#9670;&#160;</a></span>ARC_Time</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct ARC_Time ARC_Time</td>
</tr>
</table>
</div><div class="memdoc">
<p>the <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> data structre based on <a class="el" href="../../de/df7/time_8h.html">time.h</a> (mainly added to avoid having to type <code>struct tm</code> every time) </p>
<p>seconds == tm_sec [0,60] minutes == tm_min [0,59] hour == tm_hour [0,23]</p>
<p>day == tm_yday Day of year [0,365] month == tm_mon Month of year [0,11] year == tm_year Years since 1900</p>
<p>dayOfWeek == tm_wday Day of week [0,6] (Sunday =0) dayOfMonth == tm_mday Day of month [1,31]</p>
<p>daylightSavingsFlag == tm_isdst Daylight Savings flag </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a77e3c70990681ec05eef64214b61efab" name="a77e3c70990681ec05eef64214b61efab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77e3c70990681ec05eef64214b61efab">&#9670;&#160;</a></span>ARC_Time_CopyFromStructTmPtr()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../da/dba/structARC__Time.html">ARC_Time</a> ARC_Time_CopyFromStructTmPtr </td>
<td>(</td>
<td class="paramtype">struct tm *</td> <td class="paramname"><span class="paramname"><em>time</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>copies the contents of a tm struct pointer into the <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> type </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">time</td><td>the struct tm type to copy</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the contents of a struct tm as an <a class="el" href="../../da/dba/structARC__Time.html" title="the ARC_Time data structre based on time.h (mainly added to avoid having to type struct tm every time...">ARC_Time</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.2-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul><li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_8698ff38f6ae643760cdad826b9d4736.html">arc</a></li><li class="navelem"><a class="el" href="../../dir_b3e500eb3a6fe660b1141f591e523c76.html">std</a></li><li class="navelem"><a class="el" href="../../de/df7/time_8h.html">time.h</a></li></ul>
</div>
<script type="text/javascript">
// script for doxygen 1.9.1
$(function() {
toggleButton = document.createElement('doxygen-awesome-dark-mode-toggle')
toggleButton.title = "Toggle Light/Dark Mode"
$(document).ready(function(){
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
})
$(window).resize(function(){
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
})
})
</script>
</body>
</html>