314 lines
16 KiB
HTML
314 lines
16 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: ARC_Time Struct 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"> 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&dn=expat.txt MIT */
|
||
|
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||
|
|
/* @license-end */
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&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&dn=expat.txt MIT */
|
||
|
|
$(function(){initNavTree('da/dba/structARC__Time.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="#pub-attribs">Data Fields</a> </div>
|
||
|
|
<div class="headertitle"><div class="title">ARC_Time Struct Reference</div></div>
|
||
|
|
</div><!--header-->
|
||
|
|
<div class="contents">
|
||
|
|
|
||
|
|
<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)
|
||
|
|
<a href="#details">More...</a></p>
|
||
|
|
|
||
|
|
<p><code>#include <<a class="el" href="../../de/df7/time_8h_source.html">time.h</a>></code></p>
|
||
|
|
<table class="memberdecls">
|
||
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
|
||
|
|
Data Fields</h2></td></tr>
|
||
|
|
<tr class="memitem:a68a4a28539022e515a98e4ce2a90c6eb" id="r_a68a4a28539022e515a98e4ce2a90c6eb"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a68a4a28539022e515a98e4ce2a90c6eb">seconds</a></td></tr>
|
||
|
|
<tr class="separator:a68a4a28539022e515a98e4ce2a90c6eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a8c565e90558bc91410c58a92d886b617" id="r_a8c565e90558bc91410c58a92d886b617"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a8c565e90558bc91410c58a92d886b617">minutes</a></td></tr>
|
||
|
|
<tr class="separator:a8c565e90558bc91410c58a92d886b617"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:ae005a5f84468e1132d30e3236cdc438c" id="r_ae005a5f84468e1132d30e3236cdc438c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#ae005a5f84468e1132d30e3236cdc438c">hour</a></td></tr>
|
||
|
|
<tr class="separator:ae005a5f84468e1132d30e3236cdc438c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a2a9169423e341331c85ecc39caadd783" id="r_a2a9169423e341331c85ecc39caadd783"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2a9169423e341331c85ecc39caadd783">day</a></td></tr>
|
||
|
|
<tr class="separator:a2a9169423e341331c85ecc39caadd783"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a0ab8ffc0607c9c29418d14c70cfe641c" id="r_a0ab8ffc0607c9c29418d14c70cfe641c"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0ab8ffc0607c9c29418d14c70cfe641c">month</a></td></tr>
|
||
|
|
<tr class="separator:a0ab8ffc0607c9c29418d14c70cfe641c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a0868e95272e5c94b6c66d9e4d0de2c7e" id="r_a0868e95272e5c94b6c66d9e4d0de2c7e"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0868e95272e5c94b6c66d9e4d0de2c7e">year</a></td></tr>
|
||
|
|
<tr class="separator:a0868e95272e5c94b6c66d9e4d0de2c7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a2f1090e8effc74bedced74b774fdf2cb" id="r_a2f1090e8effc74bedced74b774fdf2cb"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f1090e8effc74bedced74b774fdf2cb">dayOfWeek</a></td></tr>
|
||
|
|
<tr class="separator:a2f1090e8effc74bedced74b774fdf2cb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:a5c43f775fe3bdada2159d1862dc7bc8e" id="r_a5c43f775fe3bdada2159d1862dc7bc8e"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5c43f775fe3bdada2159d1862dc7bc8e">dayOfMonth</a></td></tr>
|
||
|
|
<tr class="separator:a5c43f775fe3bdada2159d1862dc7bc8e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
<tr class="memitem:aeb601e28e2f709014ec618beeb8f06a3" id="r_aeb601e28e2f709014ec618beeb8f06a3"><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#aeb601e28e2f709014ec618beeb8f06a3">daylightSavingsFlag</a></td></tr>
|
||
|
|
<tr class="separator:aeb601e28e2f709014ec618beeb8f06a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
|
</table>
|
||
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
|
<div class="textblock"><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>
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00027">27</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
</div><h2 class="groupheader">Field Documentation</h2>
|
||
|
|
<a id="a2a9169423e341331c85ecc39caadd783" name="a2a9169423e341331c85ecc39caadd783"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2a9169423e341331c85ecc39caadd783">◆ </a></span>day</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint32_t ARC_Time::day</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00032">32</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="aeb601e28e2f709014ec618beeb8f06a3" name="aeb601e28e2f709014ec618beeb8f06a3"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeb601e28e2f709014ec618beeb8f06a3">◆ </a></span>daylightSavingsFlag</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::daylightSavingsFlag</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00039">39</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a5c43f775fe3bdada2159d1862dc7bc8e" name="a5c43f775fe3bdada2159d1862dc7bc8e"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5c43f775fe3bdada2159d1862dc7bc8e">◆ </a></span>dayOfMonth</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::dayOfMonth</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00037">37</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a2f1090e8effc74bedced74b774fdf2cb" name="a2f1090e8effc74bedced74b774fdf2cb"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2f1090e8effc74bedced74b774fdf2cb">◆ </a></span>dayOfWeek</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::dayOfWeek</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00036">36</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="ae005a5f84468e1132d30e3236cdc438c" name="ae005a5f84468e1132d30e3236cdc438c"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae005a5f84468e1132d30e3236cdc438c">◆ </a></span>hour</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::hour</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00030">30</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a8c565e90558bc91410c58a92d886b617" name="a8c565e90558bc91410c58a92d886b617"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8c565e90558bc91410c58a92d886b617">◆ </a></span>minutes</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::minutes</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00029">29</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a0ab8ffc0607c9c29418d14c70cfe641c" name="a0ab8ffc0607c9c29418d14c70cfe641c"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0ab8ffc0607c9c29418d14c70cfe641c">◆ </a></span>month</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::month</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00033">33</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a68a4a28539022e515a98e4ce2a90c6eb" name="a68a4a28539022e515a98e4ce2a90c6eb"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a68a4a28539022e515a98e4ce2a90c6eb">◆ </a></span>seconds</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint8_t ARC_Time::seconds</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00028">28</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<a id="a0868e95272e5c94b6c66d9e4d0de2c7e" name="a0868e95272e5c94b6c66d9e4d0de2c7e"></a>
|
||
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0868e95272e5c94b6c66d9e4d0de2c7e">◆ </a></span>year</h2>
|
||
|
|
|
||
|
|
<div class="memitem">
|
||
|
|
<div class="memproto">
|
||
|
|
<table class="memname">
|
||
|
|
<tr>
|
||
|
|
<td class="memname">uint32_t ARC_Time::year</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div><div class="memdoc">
|
||
|
|
|
||
|
|
<p class="definition">Definition at line <a class="el" href="../../de/df7/time_8h_source.html#l00034">34</a> of file <a class="el" href="../../de/df7/time_8h_source.html">time.h</a>.</p>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||
|
|
<li>/home/herbglitch/programs/archeus/arc/include/arc/std/<a class="el" href="../../de/df7/time_8h_source.html">time.h</a></li>
|
||
|
|
</ul>
|
||
|
|
</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="../../da/dba/structARC__Time.html">ARC_Time</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>
|