InterSystems IRIS Data Platform 2020.4 > Class Reference > %SYS namespace > %Library.FilemanTime

%Library.FilemanTime

datatype class %Library.FilemanTime

ODBC Type: TIME

Custom Time datatype designed to handle internal FILEMAN format Time (HHMMSS). A field defined as a TIME data type can accept many of the date/time entries, but only stores the TIME portion. Example: External: 15:09:43 Internal: 150943 It does not require any extra routines to function

Method Inventory

Parameters

parameter COLLATION = STRING;
The default collation value used for this data type.
parameter JSONTYPE = string;
parameter XSDTYPE = Time;

Methods

classmethod DisplayToLogical(Arg1 As %Library.String) as %Library.FilemanTime [ Language = objectscript ]
Converts DISPLAY format TIME ([MM/DD/YYYY ]HH:MM:SS) to FILEMAN format Time (HHMMSS).
classmethod IsValid(%val As %RawString) as %Status [ Language = objectscript ]
Checks for Invalid Format, expects FILEMAN format Time (HHMMSS, 00:00:01 through 24:00:00).
classmethod LogicalToDisplay(Arg1 As %Library.FilemanTime = "") as %Library.String [ Language = objectscript ]
Converts FILEMAN format TimeStamp (HHMMSS) to DISPLAY format TIME HH:MM:SS).
classmethod LogicalToOdbc(Arg1 As %Library.FilemanTime) as %Library.String [ Language = objectscript ]
Converts FILEMAN format Time (HHMMSS) to ODBC format TIME (HH:MM:SS)
classmethod LogicalToXSD(%val As %Library.FilemanTime) as %String [ Language = objectscript ]
Converts the %FilemanTime value to the canonical SOAP encoded value.
classmethod OdbcToLogical(Arg1 As %Library.String) as %Library.FilemanTimeStamp [ Language = objectscript ]
Converts ODBC format TIMESTAMP (YYYY-MM-DD HH:MM:SS) to FILEMAN format TimeStamp (CYYMMDD.HHMMSS)
classmethod XSDToLogical(%val As %String) as %Library.FilemanTime [ Language = objectscript ]
Feedback