dog-and-duck.quack.picky.time

Time, gentleman, please! Recognising and validating date time values.

date-time-property-or-fault

(date-time-property-or-fault x property severity token required?)

If the value of this property of object x is a valid xsd:dateTime value, return a fault object with this token and severity.

If required? is false and there is no such property, no fault will be returned.

xsd-date-time?

(xsd-date-time? value)

Return true if value matches the pattern for an xsd:dateTime, else false

xsd-duration?

(xsd-duration? value)

Return true if value matches the pattern for an xsd:duration, else false