Name

xsd:time — Point in time recurring each day

Synopsis

<xsd:simpleType name="time” id="time">
 <xsd:restriction base="xsd:anySimpleType">
 <xsd:whiteSpace value="collapse” fixed="true"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:anySimpleType

Primary

xsd:time

Known subtypes

None

Data parameters (facets)

enumeration, maxExclusive, maxInclusive, minExclusive, minInclusive, pattern

Description

The lexical space of xsd:time is identical to the time part of xsd:dateTime (hh:mm:ss[Z|(+|-)hh:mm]), and its value space is the set of points in time recurring daily.

Restrictions

The period (one day) is fixed, and no calendars other than Gregorian are supported.

Example

Valid values include 21:32:52, 21:32:52+02:00, 19:32:52Z, 19:32:52+00:00, and 21:32:52.12679.

Invalid values include 21:32 (all the parts must be specified), 25:25:10 (the hour part is out of range), -10:00:00 (the hour part is out of range), and 1:20:10 (all the digits must be supplied).

Get RELAX NG now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.