<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libnjb: njb_time_struct Struct 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.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>njb_time_struct Struct Reference</h1><!-- doxytag: class="njb_time_struct" --><code>#include <<a class="el" href="libnjb_8h_source.html">libnjb.h</a>></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#ce156e46767b197b844936654dffb739">year</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#e41964a3348673cdd219b847f886bbf9">month</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#f8099ff42d8ebd590e33f676fcc2e6b0">day</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#227a86206933473fc61798d4d5e37683">weekday</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#3d1df33f2b06d60440f746d9735d6f0d">hours</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#ad6d440031c3816280d6584c9ae503eb">minutes</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structnjb__time__struct.html#cd35e31eeac27b23ba9e34b646ded27d">seconds</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Time set/read struct <dl compact><dt><b>Examples: </b></dt><dd> <p> <a class="el" href="dumptime_8c-example.html#_a2">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#_a0">settime.c</a>.</dl><hr><h2>Field Documentation</h2> <a class="anchor" name="f8099ff42d8ebd590e33f676fcc2e6b0"></a><!-- doxytag: member="njb_time_struct::day" ref="f8099ff42d8ebd590e33f676fcc2e6b0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#f8099ff42d8ebd590e33f676fcc2e6b0">njb_time_struct::day</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Day (0-31) <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a12">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a4">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="3d1df33f2b06d60440f746d9735d6f0d"></a><!-- doxytag: member="njb_time_struct::hours" ref="3d1df33f2b06d60440f746d9735d6f0d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#3d1df33f2b06d60440f746d9735d6f0d">njb_time_struct::hours</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Hours (24-hour notation) <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a13">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a5">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="ad6d440031c3816280d6584c9ae503eb"></a><!-- doxytag: member="njb_time_struct::minutes" ref="ad6d440031c3816280d6584c9ae503eb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#ad6d440031c3816280d6584c9ae503eb">njb_time_struct::minutes</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Minutes <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a14">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a6">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="e41964a3348673cdd219b847f886bbf9"></a><!-- doxytag: member="njb_time_struct::month" ref="e41964a3348673cdd219b847f886bbf9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#e41964a3348673cdd219b847f886bbf9">njb_time_struct::month</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Month (0-11) <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a11">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a3">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="cd35e31eeac27b23ba9e34b646ded27d"></a><!-- doxytag: member="njb_time_struct::seconds" ref="cd35e31eeac27b23ba9e34b646ded27d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#cd35e31eeac27b23ba9e34b646ded27d">njb_time_struct::seconds</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Seconds <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a15">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a7">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="227a86206933473fc61798d4d5e37683"></a><!-- doxytag: member="njb_time_struct::weekday" ref="227a86206933473fc61798d4d5e37683" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#227a86206933473fc61798d4d5e37683">njb_time_struct::weekday</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Day of the week 0=sunday, 6=saturday <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a9">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a1">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <a class="anchor" name="ce156e46767b197b844936654dffb739"></a><!-- doxytag: member="njb_time_struct::year" ref="ce156e46767b197b844936654dffb739" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structnjb__time__struct.html#ce156e46767b197b844936654dffb739">njb_time_struct::year</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Year (4 digits) <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="dumptime_8c-example.html#a10">dumptime.c</a>, and <a class="el" href="settime_8c-example.html#a2">settime.c</a>.</dl> <p>Referenced by <a class="el" href="njbtime_8c_source.html#l00100">time_pack()</a>, <a class="el" href="njbtime_8c_source.html#l00135">time_pack3()</a>, <a class="el" href="njbtime_8c_source.html#l00025">time_unpack()</a>, and <a class="el" href="njbtime_8c_source.html#l00062">time_unpack3()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>/builddir/build/BUILD/libnjb-2.2.6/src/<a class="el" href="libnjb_8h_source.html">libnjb.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 17:17:26 2009 for libnjb by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>