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
 
  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.
back to top 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.
FILENAME '' none MAT filename.
back to top 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.
FILENAME '' none XML filename.
back to top 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.
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 {} [0x0] none Password to use when connecting to the database. Leave blank to be prompted.
CONN [] none Java mysql object.
ID, IDS [] none A vector of object IDs.
CID [] none A vector of collection IDs.
BINARY 1
  • 1
  • 0
Use binary representation (not always available).
back to top 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.
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 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.
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 back to top

Some information of the method timespan/timespan are listed below:
Class name timespan
Method name timespan
Category Constructor
Package name ltpda
VCS Version 3542afe99dea25c636b7ac3b82a9f6f8be9d447d
Min input args 0
Max input args -1
Min output args 1
Max output args 1




©LTP Team