Method timespan/plus


  PLUS Implements addition operator for timespan objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: Implements addition operator for timespan objects. Numeric and
  string operands are transparently handled converting them to time objects.
  Vector operands are handled accordingly to MATLAB conventions.
 
 
  CALL:        bs = as + val;
               bs = as + time;
 
  INPUTS:      as: a timespan object
               val:  time or time string or numeric value
 
  OUTPUTS:     bs: a timespan object
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class timespan
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
plus
ADD 0 none The time to add to the start and end time of the timespan.

Example

plist('ADD', [0])

back to top back to top

Some information of the method timespan/plus are listed below:
Class name timespan
Method name plus
Category Helper
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team