This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

%xsd.duration

datatype class %xsd.duration extends %Library.String

ODBC Type: VARCHAR

This data data type represents an XML format duration. Internally, this is stored as a string.

Method Inventory (Including Private)

Parameters

parameter XSDTYPE = duration;
Declares the XSD type used when projecting XML schemas.

Methods (Including Private)

classmethod IsValid(%val As %CacheString) as %Status
Tests if the logical value %val, which represents a duration value in PnYnMnDTnHnMn[.nnnnnnnn]S format, is valid.
classmethod LogicalToXSD(%val As %xsd.duration) as %String
Converts the Cache %TimeStamp value to the canonical SOAP encoded value.
classmethod XSDToLogical(%val As %String) as %xsd.duration
Converts the SOAP encoded input dateTime value into a Cache %TimeStamp value.

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window