Mercurial > hg > ltpda
view m-toolbox/html_help/help/ug/class_desc_timespan.html @ 29:54f14716c721 database-connection-manager
Update Java code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html lang="en"> <head> <meta name="generator" content= "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org"> <meta http-equiv="Content-Type" content= "text/html; charset=us-ascii"> <title>timespan Class (LTPDA Toolbox)</title> <link rel="stylesheet" href="docstyle.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.52.2"> <meta name="description" content= "Presents an overview of the features, system requirements, and starting the toolbox."> </head> <body> <a name="top_of_page" id="top_of_page"></a> <p style="font-size:1px;"> </p> <table class="nav" summary="Navigation aid" border="0" width= "100%" cellpadding="0" cellspacing="0"> <tr> <td valign="baseline"><b>LTPDA Toolbox</b></td><td><a href="../helptoc.html">contents</a></td> <td valign="baseline" align="right"><a href= "class_desc_ssm.html"><img src="b_prev.gif" border="0" align= "bottom" alt="ssm Class"></a> <a href= "constructor_examples_main.html"><img src="b_next.gif" border="0" align= "bottom" alt="Constructor Examples"></a></td> </tr> </table> <h1 class="title"><a name="f3-12899" id="f3-12899"></a>timespan Class</h1> <hr> <p> <!-- ================================================== --> <!-- 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_timespan.html#top_properties">Properties</a> </td> <td>Properties of the class</td> </tr> <tr valign="top"> <td> <a href="class_desc_timespan.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_timespan.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: 'startT' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.startT')">startT</a></p> </td> <td bgcolor="#f3f4f5"> <p>Start time of the time span. (time-object)</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</p> </td> </tr> <!-- Property: 'endT' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.endT')">endT</a></p> </td> <td> <p>End time of the time span. (time-object)</p> </td> <td> <p>timespan</p> </td> </tr> <!-- Property: 'interval' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.interval')">interval</a></p> </td> <td bgcolor="#f3f4f5"> <p>Interval between start/end time</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</p> </td> </tr> <!-- Property: 'timeformat' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.timeformat')">timeformat</a></p> </td> <td> <p>timeformat of the time span (see preferences)</p> </td> <td> <p>timespan</p> </td> </tr> <!-- Property: 'timezone' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.timezone')">timezone</a></p> </td> <td bgcolor="#f3f4f5"> <p>timezone of the time span (see preferences)</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</p> </td> </tr> <!-- Property: 'hist' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.hist')">hist</a></p> </td> <td> <p>history of the object (history object)</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- Property: 'procinfo' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.procinfo')">procinfo</a></p> </td> <td bgcolor="#f3f4f5"> <p>plist with additional information for an object.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- Property: 'plotinfo' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.plotinfo')">plotinfo</a></p> </td> <td> <p>plist with the plot information</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- Property: 'name' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.name')">name</a></p> </td> <td bgcolor="#f3f4f5"> <p>name of the object</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uo</p> </td> </tr> <!-- Property: 'description' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.description')">description</a></p> </td> <td> <p>description of the object</p> </td> <td> <p>ltpda_uo</p> </td> </tr> <!-- Property: 'mdlfile' --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan.mdlfile')">mdlfile</a></p> </td> <td bgcolor="#f3f4f5"> <p>model xml file of the LTPDAworkbench</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uo</p> </td> </tr> <!-- Property: 'UUID' --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan.UUID')">UUID</a></p> </td> <td> <p>Universally Unique Identifier of 128-bit</p> </td> <td> <p>ltpda_uo</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_timespan.html#constructor">Constructor</a> </td> <td>Constructor of this class</td> </tr> <tr valign="top"> <td> <a href="class_desc_timespan.html#helper">Helper</a> </td> <td>Helper methods only for internal usage</td> </tr> <tr valign="top"> <td> <a href="class_desc_timespan.html#internal">Internal</a> </td> <td>Internal methods only for internal usage</td> </tr> <tr valign="top"> <td> <a href="class_desc_timespan.html#output">Output</a> </td> <td>Output methods</td> </tr> <tr valign="top"> <td> <a href="class_desc_timespan.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: 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> <!-- ltpda_uoh/rebuild --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/rebuild')">rebuild</a></p> </td> <td bgcolor="#f3f4f5"> <p>REBUILD rebuilds the input objects using the history.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- timespan/timespan --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan')">timespan</a></p> </td> <td> <p>TIMESPAN timespan object class constructor.</p> </td> <td> <p>timespan</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('timespan/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_uoh/created --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/created')">created</a></p> </td> <td> <p>CREATED Returns a time object of the last modification.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/creator --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/creator')">creator</a></p> </td> <td bgcolor="#f3f4f5"> <p>CREATOR Extract the creator(s) from the history.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/csvexport --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/csvexport')">csvexport</a></p> </td> <td> <p>CSVEXPORT Exports the data of an object to a csv file.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/index --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/index')">index</a></p> </td> <td bgcolor="#f3f4f5"> <p>INDEX index into a 'ltpda_uoh' object array or matrix. This properly captures the history.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/requirements --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/requirements')">requirements</a></p> </td> <td> <p>REQUIREMENTS Returns a list of LTPDA extension requirements for a given object.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/setDescription --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/setDescription')">setDescription</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETDESCRIPTION sets the 'description' property of a ltpda_uoh object.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/setMdlfile --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/setMdlfile')">setMdlfile</a></p> </td> <td> <p>SETMDLFILE sets the 'mdlfile' property of a ltpda_uoh object.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/setName --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/setName')">setName</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETNAME Sets the property 'name' of an ltpda_uoh object.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/setPlotinfo --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/setPlotinfo')">setPlotinfo</a></p> </td> <td> <p>SETPLOTINFO sets the 'plotinfo' property of a ltpda_uoh object.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/setProcinfo --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/setProcinfo')">setProcinfo</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETPROCINFO sets the 'procinfo' property of a ltpda_uoh object.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- timespan/setEndT --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/setEndT')">setEndT</a></p> </td> <td> <p>SETENDT sets the 'endT' property of the timespan objects.</p> </td> <td> <p>timespan</p> </td> </tr> <!-- timespan/setStartT --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/setStartT')">setStartT</a></p> </td> <td bgcolor="#f3f4f5"> <p>SETSTARTT sets the 'startT' property of the timespan objects.</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</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> <!-- ltpda_obj/isprop --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/isprop')">isprop</a></p> </td> <td bgcolor="#f3f4f5"> <p>ISPROP tests if the given field is one of the object properties.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_obj</p> </td> </tr> <!-- ltpda_uo/bsubmit --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/bsubmit')">bsubmit</a></p> </td> <td> <p>BSUBMIT Submits the given collection of objects in binary form to an LTPDA repository</p> </td> <td> <p>ltpda_uo</p> </td> </tr> <!-- ltpda_uo/submit --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/submit')">submit</a></p> </td> <td bgcolor="#f3f4f5"> <p>SUBMIT Submits the given objects to an LTPDA repository</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uo</p> </td> </tr> <!-- ltpda_uo/update --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/update')">update</a></p> </td> <td> <p>UPDATE Updates the given object in an LTPDA repository</p> </td> <td> <p>ltpda_uo</p> </td> </tr> <!-- ltpda_uoh/string --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/string')">string</a></p> </td> <td bgcolor="#f3f4f5"> <p>STRING writes a command string that can be used to recreate the input object(s).</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/type --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/type')">type</a></p> </td> <td> <p>TYPE converts the input objects to MATLAB functions.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- timespan/double --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/double')">double</a></p> </td> <td bgcolor="#f3f4f5"> <p>DOUBLE overloads double() function for timespan objects.</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</p> </td> </tr> <!-- timespan/generateConstructorPlist --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/generateConstructorPlist')">generateConstructorPlist</a></p> </td> <td> <p>GENERATECONSTRUCTORPLIST generates a PLIST from the properties which can rebuild the object.</p> </td> <td> <p>timespan</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> <!-- ltpda_uo/save --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/save')">save</a></p> </td> <td bgcolor="#f3f4f5"> <p>SAVE overloads save operator for ltpda objects.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uo</p> </td> </tr> <!-- ltpda_uoh/report --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/report')">report</a></p> </td> <td> <p>REPORT generates an HTML report about the input objects.</p> </td> <td> <p>ltpda_uoh</p> </td> </tr> <!-- ltpda_uoh/viewHistory --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/viewHistory')">viewHistory</a></p> </td> <td bgcolor="#f3f4f5"> <p>VIEWHISTORY Displays the history of an object as a dot-view or a MATLAB figure.</p> </td> <td bgcolor="#f3f4f5"> <p>ltpda_uoh</p> </td> </tr> <!-- timespan/char --> <tr valign="top"> <td> <p><a href="matlab:doc('timespan/char')">char</a></p> </td> <td> <p>CHAR convert a timespan object into a string.</p> </td> <td> <p>timespan</p> </td> </tr> <!-- timespan/display --> <tr valign="top"> <td bgcolor="#f3f4f5"> <p><a href="matlab:doc('timespan/display')">display</a></p> </td> <td bgcolor="#f3f4f5"> <p>DISPLAY overloads display functionality for timespan objects.</p> </td> <td bgcolor="#f3f4f5"> <p>timespan</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('timespan/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('timespan/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 --> <!-- ================================================== --> </p> <br> <br> <table class="nav" summary="Navigation aid" border="0" width= "100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td align="left" width="20"><a href="class_desc_ssm.html"><img src= "b_prev.gif" border="0" align="bottom" alt= "ssm Class"></a> </td> <td align="left">ssm Class</td> <td> </td> <td align="right">Constructor Examples</td> <td align="right" width="20"><a href= "constructor_examples_main.html"><img src="b_next.gif" border="0" align= "bottom" alt="Constructor Examples"></a></td> </tr> </table><br> <p class="copy">©LTP Team</p> </body> </html>