Method timespan/timespan
TIMESPAN timespan object class constructor.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: TIMESPAN timespan object class constructor.
Create a timespan object.
CONSTRUCTORS:
ts = timespan()
ts = timespan('file_name.mat');
ts = timespan('file_name.xml');
ts = timespan( time, time)
ts = timespan(time, '14:00:05')
ts = timespan('14:00:00', time)
ts = timespan('14:00:00', '14:00:05')
ts = timespan(30000, 50000)
ts = timespan(20000, 30000, 'HH:MM:SS')
ts = timespan(plist)
SUPPORTED TIMEFORMATS:
dd-mm-yyyy HH:MM:SS yyyy - year (000-9999)
dd.mm.yyyy HH:MM:SS mm - month (1-12)
dd-mm-yyyy HH:MM:SS.FFF dd - day (1-31)
dd.mm.yyyy HH:MM:SS.FFF HH - hour (00-24)
HH:MM:SS dd-mm-yyyy MM - minutes (00-59)
HH:MM:SS dd.mm.yyyy SS - seconds (00-59)
HH:MM:SS.FFF dd-mm-yyyy FFF - milliseconds (000-999)
HH:MM:SS.FFF dd.mm.yyyy
MM:SS
MM:SS.FFF
Parameters Description
VERSION: $Id: timespan.m,v 1.90 2011/12/13 09:10:08 nicolodi Exp $
SEE ALSO: ltpda_uoh, ltpda_uo, ltpda_obj, plist
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
timespan |
Sealed |
0 |
Static |
0 |
Parameter Description
Default |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
back to top
From MAT File |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
FILENAME |
'' |
none |
MAT filename. |
back to top
From XML File |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
FILENAME |
'' |
none |
XML filename. |
back to top
From Repository |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
HOSTNAME |
'' |
none |
Database server hostname. |
DATABASE |
'' |
none |
Database name. |
USERNAME |
'' |
none |
User name to use when connecting to the database. Leave blank to be prompted. |
PASSWORD |
[] |
none |
Password to use when connecting to the database. Leave blank to be prompted. |
ID |
[] |
none |
A vector of object IDs. |
CID |
[] |
none |
A vector of collection IDs. |
BINARY |
1 |
|
Use binary representation (not always available). |
back to top
From Built-in Model |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
BUILT-IN |
'' |
none |
Choose one of the built-in models. (use class.getBuiltInModels to get a list for a particular user class) |
back to top
From Timespan Definition |
no description |
Key |
Default Value |
Options |
Description |
NAME |
'' |
none |
The name of the constructed object. |
DESCRIPTION |
'' |
none |
The description of the constructed object. |
PLOTINFO |
[] |
none |
The plot information for the constructed object. This information is interpreted by iplot. The value should be a plist with any or all of the following keys:- 'linestyle' - choose a MATLAB linestyle
- 'linewidth' - choose a the line width
- 'color' - choose a color for the resulting trace
- 'marker' - choose a marker for the resulting trace
- 'legend_on' - choose a true or false to include in the legend or not
|
STARTT |
'' |
none |
The starting time. |
ENDT |
'' |
none |
The ending time. |
TIMEZONE |
'UTC' |
- 'UTC'
- 'CET'
- 'PST'
- 'CST'
- 'EST'
- 'JST'
- 'GMT-12'
- 'GMT-11'
- 'GMT-10'
- 'GMT-09'
- 'GMT-08'
- 'GMT-07'
- 'GMT-06'
- 'GMT-05'
- 'GMT-04'
- 'GMT-03'
- 'GMT-02'
- 'GMT-01'
- 'GMT'
- 'GMT+01'
- 'GMT+02'
- 'GMT+03'
- 'GMT+04'
- 'GMT+05'
- 'GMT+06'
- 'GMT+07'
- 'GMT+08'
- 'GMT+09'
- 'GMT+10'
- 'GMT+11'
- 'GMT+12'
|
Timezone. |
TIMEFORMAT |
'' |
none |
Time format. |
back to top
Some information of the method timespan/timespan are listed below: |
Class name |
timespan |
Method name |
timespan |
Category |
Constructor |
CVS Version |
$Id: timespan.m,v 1.90 2011/12/13 09:10:08 nicolodi Exp $ |
Min input args |
0 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
1 |
|
Method: timespan/rebuild |
|
Method: timespan/created |
 |
©LTP Team