Method timespan/inTimespan
INTIMESPAN checks if an input time is inbetween a timespan.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
description: INTIMESPAN checks if an input time is inbetween a timespan.
call: b = inTimespan(ts, numeric)
b = inTimespan(ts, char)
b = inTimespan(ts, time-obj)
b = inTimespan(ts, plist-obj)
b = inTimespan(ts1, ts2, ts3, ...)
inputs: ts - Timespan objects
numeric - Epoch (unix-) time in seconds e.g. 1325426400.000
char - Character string of a time e.g. '2012-01-01 14:00:00'
time-obj - Time object
plist-obj - Plist object
outputs: b - Binary array with the same size as the timespan objects.
parameters description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
timespan |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
default |
default |
no description |
Key |
Default Value |
Options |
Description |
inTimespan |
TIME |
[] |
none |
the time you want to check whether it is in the timespan |
Example |
plist('TIME', [[]]) |
back to top
Some information of the method timespan/inTimespan are listed below: |
Class name |
timespan |
Method name |
inTimespan |
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'} |
|
Method: timespan/human |
|
Method: timespan/index |
 |
©LTP Team