timespan Class


Properties Properties of the class
Methods All Methods of the class ordered by category.
Examples Some constructor examples

Back to Class descriptions Back to Class descriptions

Properties

The LTPDA toolbox restrict access of the properties.

The get access is 'public' and thus it is possible to get the values with the dot-command (similar to structures).

For example:

val = obj.prop(2).prop;
The set access is 'protected' and thus it is only possible to assign a value to a property with a set-method.
For example:
obj2 = obj1.setName('my name') % This command creates a copy of obj1 (obj1 ~= obj2)
obj.setName('my name');        % This command applies to obj    

Properties Description Defined in class

startT

TIME object of the start time

timespan

endT

TIME object of the end time

timespan

timeformat

Time format of the start/end time objects

timespan

timezone

Timezone of the start/end time objects

timespan

interval

Interval string of the start/end time

timespan

version

CVS version string of the constructor

timespan

hist

History object associated with this object

ltpda_uoh

name

Name of the object

ltpda_uo

Back to Top Back to Top

Methods

Constructor Constructor of this class
Helper Helper methods only for internal usage
Internal Internal methods only for internal usage
Output Output methods
Relational Operator Relational operator methods

Back to Top Back to Top

Constructor

Methods Description Defined in class

rebuild

REBUILD rebuilds the input objects using the history.

ltpda_uoh

timespan

TIMESPAN timespan object class constructor.

timespan

Back to Top of Section Back to Top of Section

Helper

Methods Description Defined in class

get

GET get a property of a object.

ltpda_obj

isprop

ISPROP tests if the given field is one of the object properties.

ltpda_obj

created

CREATED Returns a time object of the last modification.

ltpda_uoh

creator

CREATOR Extract the creator(s) from the history.

ltpda_uoh

index

INDEX index into a 'ltpda_uoh' object array or matrix. This properly captures the history.

ltpda_uoh

setName

SETNAME Set the property 'name'.

ltpda_uoh

setProperties

SETPROPERTIES set different properties of an object.

ltpda_uoh

string

STRING writes a command string that can be used to recreate the input object(s).

ltpda_uoh

setEndT

SETENDT Set the property 'endT'.

timespan

setStartT

SETSTARTT Set the property 'startT'.

timespan

setTimeformat

SETTIMEFORMAT Set the property 'timeformat'.

timespan

setTimezone

SETTIMEZONE Set the property 'timezone'.

timespan

Back to Top of Section Back to Top of Section

Internal

Methods Description Defined in class

bsubmit

BSUBMIT bsubmits the given collection of objects to an LTPDA Repository.

ltpda_uo

submit

SUBMIT submits the given collection of objects to an LTPDA Repository.

ltpda_uo

update

UPDATE updates the given object in an LTPDA Repository.

ltpda_uo

Back to Top of Section Back to Top of Section

Output

Methods Description Defined in class

report

REPORT generates an HTML report about the input objects.

ltpda_uoh

save

SAVE overloads save operator for ltpda objects.

ltpda_uoh

type

TYPE converts the input objects to MATLAB functions.

ltpda_uoh

char

CHAR convert a timespan object into a string.

timespan

display

DISPLAY overloads display functionality for timespan objects.

timespan

Back to Top of Section Back to Top of Section

Relational Operator

Methods Description Defined in class

eq

EQ overloads the == operator for ltpda objects.

ltpda_obj

ne

NE overloads the ~= operator for ltpda objects.

ltpda_obj

Back to Top of Section Back to Top of Section




©LTP Team