data.duration.w3c
data.duration.w3c defines the range of attribute values available for representation of a duration in time using W3C datatypes. | ||
Deprecated | This feature will be withdrawn after 2018-10-01 | |
Module | tei — The TEI Infrastructure | |
Used by | ||
Declaration | <rng:define name="data.duration.w3c"> data.duration.w3c = xsd:duration | |
Example | <time dur="PT45M">forty-five minutes</time> | |
Example | <date dur="P1DT12H">a day and a half</date> | |
Example | <date dur="P7D">a week</date> | |
Example | <time dur="PT0.02S">20 ms</time> | |
Note | A duration is expressed as a sequence of number-letter pairs, preceded by the letter P; the letter gives the unit and may be Y (year), M (month), D (day), H (hour), M (minute), or S (second), in that order. The numbers are all unsigned integers, except for the For complete details, see the W3C specification. |