Mercurial > hg > ltpda
view m-toolbox/html_help/help/ug/class_desc_time_content.html @ 40:977eb37f31cb database-connection-manager
User friendlier errors from utils.mysql.connect
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 18:04:03 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
<!-- $Id: class_desc_time_content.html,v 1.11 2009/03/17 16:52:04 ingo Exp $ --> <!-- ================================================== --> <!-- BEGIN CONTENT FILE --> <!-- ================================================== --> <!-- ===== link box: Begin ===== --> <p> <table border="1" width="80%"> <tr> <td> <table border="0" cellpadding="5" class="categorylist" width="100%"> <colgroup> <col width="37%"/> <col width="63%"/> </colgroup> <tbody> <tr valign="top"> <td> <a href="class_desc_time.html#top_properties">Properties</a> </td> <td>Properties of the class</td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#top_methods">Methods</a> </td> <td>All Methods of the class ordered by category.</td> </tr> <tr valign="top"> <td> <a href="constructor_examples_main.html">Examples</a> </td> <td>Some constructor examples</td> </tr> </tbody> </table> </td> </tr> </table> </p> <!-- ===== link box: End ====== --> <!-- ===== Back to Class descriptions ===== --> <a href="class_desc_main.html"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Class descriptions"/> Back to Class descriptions </a> <h2 class="title"><a name="top_properties"/>Properties</h2> <p> The LTPDA toolbox restrict access of the properties.<br></br> The get access is 'public' and thus it is possible to get the values with the dot-command (similar to structures).<br></br> <pre class="programlisting">For example:<br></br>val = obj.prop(2).prop;</pre> The set access is 'protected' and thus it is only possible to assign a value to a property with a set-method. <pre class="programlisting"> For example: obj2 = obj1.setName(<span class="string">'my name'</span>) <span class="comment">% This command creates a copy of obj1 (obj1 ~= obj2)</span> obj.setName(<span class="string">'my name'</span>); <span class="comment">% This command applies to obj</span> </pre> </p> <!-- ===== Properties ===== --> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Properties</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- Property: 'utc_epoch_milli' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><tt>utc_epoch_milli</tt></p> </td> <td bgcolor="#f3f4f5"> <p>Unix epoch time in milliseconds. The underlying timezone is UTC</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- Property: 'timezone' --> <tr valign="top"> <td> <p><tt>timezone</tt></p> </td> <td> <p>Timezone of the current time</p> </td> <td> <p>time</p> </td> </tr> <!-- Property: 'timeformat' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><tt>timeformat</tt></p> </td> <td bgcolor="#f3f4f5"> <p>Time format of the current time</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- Property: 'time_str' --> <tr valign="top"> <td> <p><tt>time_str</tt></p> </td> <td> <p>Time string depending on the unix epoch time and time format</p> </td> <td> <p>time</p> </td> </tr> <!-- Property: 'version' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><tt>version</tt></p> </td> <td bgcolor="#f3f4f5"> <p>CVS version string of the constructor</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> </tbody> </table> </p> <!-- ===== Top of page ===== --> <a href="#top_of_page"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top"/> Back to Top </a> <h2 class="title"><a name="top_methods"/>Methods</h2> <!-- ===== link box: Begin ===== --> <p> <table border="1" width="80%"> <tr> <td> <table border="0" cellpadding="5" class="subcategorylist" width="100%"> <colgroup> <col width="37%"/> <col width="63%"/> </colgroup> <tbody> <tr valign="top"> <td> <a href="class_desc_time.html#arithmetic_operator">Arithmetic Operator</a> </td> <td></td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#constructor">Constructor</a> </td> <td>Constructor of this class</td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#helper">Helper</a> </td> <td>Helper methods only for internal usage</td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#internal">Internal</a> </td> <td>Internal methods only for internal usage</td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#output">Output</a> </td> <td>Output methods</td> </tr> <tr valign="top"> <td> <a href="class_desc_time.html#relational_operator">Relational Operator</a> </td> <td>Relational operator methods</td> </tr> </tbody> </table> </td> </tr> </table> </p> <!-- ===== link box: End ====== --> <!-- ===== Top of page ===== --> <a href="#top_of_page"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top"/> Back to Top </a> <!-- ===== Methods Category: Arithmetic_Operator ===== --> <h3 class="title"><a name="arithmetic_operator"/>Arithmetic Operator</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- time/minus --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/minus')">minus</a></p> </td> <td bgcolor="#f3f4f5"> <p>MINUS overloads - operator for time objects.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- time/plus --> <tr valign="top"> <td> <p><a href="matlab:doc('time/plus')">plus</a></p> </td> <td> <p>PLUS overloads + operator for time objects.</p> </td> <td> <p>time</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ===== Methods Category: Constructor ===== --> <h3 class="title"><a name="constructor"/>Constructor</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- time/time --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time')">time</a></p> </td> <td bgcolor="#f3f4f5"> <p>TIME time object class constructor.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ===== Methods Category: Helper ===== --> <h3 class="title"><a name="helper"/>Helper</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- ltpda_obj/get --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('ltpda_obj/get')">get</a></p> </td> <td bgcolor="#f3f4f5"> <p>GET get a property of a object.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_obj</p> </td> </tr> <!-- ltpda_obj/isprop --> <tr valign="top"> <td> <p><a href="matlab:doc('ltpda_obj/isprop')">isprop</a></p> </td> <td> <p>ISPROP tests if the given field is one of the object properties.</p> </td> <td> <p>ltpda_obj</p> </td> </tr> <!-- time/string --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/string')">string</a></p> </td> <td bgcolor="#f3f4f5"> <p>STRING writes a command string that can be used to recreate the input time object.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ===== Methods Category: Internal ===== --> <h3 class="title"><a name="internal"/>Internal</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- time/setEpochtime --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/setEpochtime')">setEpochtime</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETEPOCHTIME Set the property 'utc_epoch_milli'.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- time/setTime_str --> <tr valign="top"> <td> <p><a href="matlab:doc('time/setTime_str')">setTime_str</a></p> </td> <td> <p>SETTIME_STR Set the property 'time_str'.</p> </td> <td> <p>time</p> </td> </tr> <!-- time/setTimeformat --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/setTimeformat')">setTimeformat</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETTIMEFORMAT Set the property 'timeformat'.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- time/setTimezone --> <tr valign="top"> <td> <p><a href="matlab:doc('time/setTimezone')">setTimezone</a></p> </td> <td> <p>SETTIMEZONE Set the property 'timezone'.</p> </td> <td> <p>time</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ===== Methods Category: Output ===== --> <h3 class="title"><a name="output"/>Output</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- time/char --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/char')">char</a></p> </td> <td bgcolor="#f3f4f5"> <p>CHAR convert a time object into a string.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> <!-- time/display --> <tr valign="top"> <td> <p><a href="matlab:doc('time/display')">display</a></p> </td> <td> <p>DISPLAY overloads display functionality for time objects.</p> </td> <td> <p>time</p> </td> </tr> <!-- time/format --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('time/format')">format</a></p> </td> <td bgcolor="#f3f4f5"> <p>FORMAT Returns the time in specified format.</p> </td> <td bgcolor="#f3f4f5"> <p>time</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ===== Methods Category: Relational_Operator ===== --> <h3 class="title"><a name="relational_operator"/>Relational Operator</h3> <p> <table cellspacing="0" class="body" cellpadding="2" border="0" width="80%"> <colgroup> <col width="15%"/> <col width="73%"/> <col width="12%"/> </colgroup> <thead> <tr valign="top"> <th class="categorylist">Methods</th> <th class="categorylist">Description</th> <th class="categorylist">Defined in class</th> </tr> </thead> <tbody> <!-- ltpda_obj/eq --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('ltpda_obj/eq')">eq</a></p> </td> <td bgcolor="#f3f4f5"> <p>EQ overloads the == operator for ltpda objects.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_obj</p> </td> </tr> <!-- ltpda_obj/ne --> <tr valign="top"> <td> <p><a href="matlab:doc('ltpda_obj/ne')">ne</a></p> </td> <td> <p>NE overloads the ~= operator for ltpda objects.</p> </td> <td> <p>ltpda_obj</p> </td> </tr> </tbody> </table> <!-- ===== Back to Top of Methods ===== --> <a href="#top_methods"> <img src="doc_to_top_up.gif" border="0" align="bottom" alt="Back to Top of Section"/> Back to Top of Section </a> </p> <!-- ================================================== --> <!-- END CONTENT FILE --> <!-- ================================================== -->