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

utc_epoch_milli

Unix epoch time in milliseconds. The underlying timezone is UTC

time

timezone

Timezone of the current time

time

timeformat

Time format of the current time

time

time_str

Time string depending on the unix epoch time and time format

time

version

CVS version string of the constructor

time

Back to Top Back to Top

Methods

Arithmetic Operator
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

Arithmetic Operator

Methods Description Defined in class

minus

MINUS overloads - operator for time objects.

time

plus

PLUS overloads + operator for time objects.

time

Back to Top of Section Back to Top of Section

Constructor

Methods Description Defined in class

time

TIME time object class constructor.

time

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

string

STRING writes a command string that can be used to recreate the input time object.

time

Back to Top of Section Back to Top of Section

Internal

Methods Description Defined in class

setEpochtime

SETEPOCHTIME Set the property 'utc_epoch_milli'.

time

setTime_str

SETTIME_STR Set the property 'time_str'.

time

setTimeformat

SETTIMEFORMAT Set the property 'timeformat'.

time

setTimezone

SETTIMEZONE Set the property 'timezone'.

time

Back to Top of Section Back to Top of Section

Output

Methods Description Defined in class

char

CHAR convert a time object into a string.

time

display

DISPLAY overloads display functionality for time objects.

time

format

FORMAT Returns the time in specified format.

time

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