%xsd.duration
Class %xsd.duration Extends %String [ Not ProcedureBlock, System = 2 ]
This data data type represents an XML format duration. Internally, this is stored as a string.
Parameters
XSDTYPE
Parameter XSDTYPE = "duration";
Declares the XSD type used when projecting XML schemas.
Methods
XSDToLogical
ClassMethod XSDToLogical(%val As %String) As %xsd.duration [ CodeMode = generator, ServerOnly = 1 ]
Converts the SOAP encoded input dateTime value into a %TimeStamp value.
LogicalToXSD
ClassMethod LogicalToXSD(%val As %xsd.duration) As %String [ CodeMode = generator, ServerOnly = 1 ]
Converts the %TimeStamp value to the canonical SOAP encoded value.
IsValid
ClassMethod IsValid(%val As %RawString) As %Status [ CodeMode = generator, ServerOnly = 0 ]
Tests if the logical value %val, which represents a duration value in PnYnMnDTnHnMn[.nnnnnnnn]S
format, is valid.