⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__g__date.html

📁 oci的源码,可以在任何平台上编译,相当方便实用
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td></td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>hour</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>min</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>sec</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Set the time portion if the given date handle. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>- Date handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>hour</em>&nbsp;</td><td>- Hour value </td></tr>    <tr><td valign="top"></td><td valign="top"><em>min</em>&nbsp;</td><td>- Minute value </td></tr>    <tr><td valign="top"></td><td valign="top"><em>sec</em>&nbsp;</td><td>- Second value</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="date_8c-source.html#l00471">471</a> of file <a class="el" href="date_8c-source.html">date.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00494">OCI_Date::handle</a>.</p><p>Referenced by <a class="el" href="group__g__date.html#gb5e4890df370609f9a8267125c52123e">OCI_DateSetDateTime()</a>.</p></div></div><p><a class="anchor" name="gd7c5c65d88b52e6ecb46b3e9ba8843dc"></a><!-- doxytag: member="ocilib.h::OCI_DateSysDate" ref="gd7c5c65d88b52e6ecb46b3e9ba8843dc" args="(OCI_Date *date)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_DateSysDate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___date.html">OCI_Date</a> *&nbsp;</td>          <td class="paramname"> <em>date</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current system date/time into the date handle. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>- Date handle</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="date_8c-source.html#l00497">497</a> of file <a class="el" href="date_8c-source.html">date.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00496">OCI_Date::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00497">OCI_Date::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00494">OCI_Date::handle</a>.</p></div></div><p><a class="anchor" name="g52fb4405771971a2603e3eb871b3256e"></a><!-- doxytag: member="ocilib.h::OCI_DateToCTime" ref="g52fb4405771971a2603e3eb871b3256e" args="(OCI_Date *date, struct tm *ptm, time_t *pt)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_DateToCTime           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___date.html">OCI_Date</a> *&nbsp;</td>          <td class="paramname"> <em>date</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">struct tm *&nbsp;</td>          <td class="paramname"> <em>ptm</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">time_t *&nbsp;</td>          <td class="paramname"> <em>pt</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Affect an <a class="el" href="struct_o_c_i___date.html" title="Oracle internal date representation.">OCI_Date</a> handle value to ISO C time datatypes. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>- Date handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ptm</em>&nbsp;</td><td>- Pointer to a structure tm to receive date/time values </td></tr>    <tr><td valign="top"></td><td valign="top"><em>pt</em>&nbsp;</td><td>- Pointer to a time_t to hold the date/time in the time_t format</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Both parameters 'ptm' and 'p' are optional but one of them has to be provided.</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="date_8c-source.html#l00604">604</a> of file <a class="el" href="date_8c-source.html">date.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00494">OCI_Date::handle</a>.</p></div></div><p><a class="anchor" name="g48334e86fc54a800a44f2c8e6759adfd"></a><!-- doxytag: member="ocilib.h::OCI_DateToText" ref="g48334e86fc54a800a44f2c8e6759adfd" args="(OCI_Date *date, const mtext *fmt, int size, mtext *str)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_DateToText           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___date.html">OCI_Date</a> *&nbsp;</td>          <td class="paramname"> <em>date</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>fmt</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">int&nbsp;</td>          <td class="paramname"> <em>size</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">mtext *&nbsp;</td>          <td class="paramname"> <em>str</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Convert a Date value from the given date handle to a string. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>- source Date handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>fmt</em>&nbsp;</td><td>- Date format </td></tr>    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>- Destination string size in characters </td></tr>    <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>- Destination date string</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="date_8c-source.html#l00519">519</a> of file <a class="el" href="date_8c-source.html">date.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00496">OCI_Date::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00497">OCI_Date::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00494">OCI_Date::handle</a>.</p><p>Referenced by <a class="el" href="group__g__fetch.html#g755a9b07c174feacd05c86e0e44b0ab0">OCI_GetString()</a>.</p></div></div><p><a class="anchor" name="g70185e0f00edcc02cc29a4ac9d1ab486"></a><!-- doxytag: member="ocilib.h::OCI_DateZoneToZone" ref="g70185e0f00edcc02cc29a4ac9d1ab486" args="(OCI_Date *date, const mtext *zone1, const mtext *zone2)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_DateZoneToZone           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___date.html">OCI_Date</a> *&nbsp;</td>          <td class="paramname"> <em>date</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>zone1</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>zone2</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Convert a date from one zone to another zone. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>- Date handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>zone1</em>&nbsp;</td><td>- Source zone </td></tr>    <tr><td valign="top"></td><td valign="top"><em>zone2</em>&nbsp;</td><td>- Destination zone</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="date_8c-source.html#l00566">566</a> of file <a class="el" href="date_8c-source.html">date.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00496">OCI_Date::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00497">OCI_Date::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00494">OCI_Date::handle</a>.</p></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Sat Apr 18 01:13:14 2009 for OCILIB (C Driver for Oracle) by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -