Package: cxml-types

Class duration-type

Superclasses

xsd-type, data-type, cxml-types::ordering-mixin, common-lisp:standard-object, sb-pcl::slot-object, common-lisp:t

Documented Subclasses

None

Details

The duration data type, representing a duration of time.

Syntax. This type accepts an ISO-like syntax. For details refer to the specification.

Implementation. This type returns lists of the form (years months days hours minutes seconds). Each value can be nil or a number. All values are integers except for seconds, which is a real.

Example. P1Y2M3DT10H30M maps to (1 2 3 10 30 nil)

Parameters. This type is ordered and allows the parameters max-inclusive, min-inclusive, max-exclusive, and min-exclusive.
 

Slot Access Functions

Inherited Slot Access Functions