Difference between revisions of "DTr1 TS.DATE"
(Automated ADBot page content) |
(Automated ADBot page content) |
||
Line 4: | Line 4: | ||
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors | ! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors | ||
|- | |- | ||
− | | style="height:30px; vertical-align:middle;" | '''TS.DATE''' || style="vertical-align:middle;" | [[File:Universalrealm.png|20px|link=]] UV || | + | | style="height:30px; vertical-align:middle;" | '''TS.DATE''' || style="vertical-align:middle;" | [[File:Universalrealm.png|20px|link=]] UV || style="vertical-align:middle;" | |
|} | |} | ||
Revision as of 11:39, 23 July 2017
Contents
TS.DATE Time Stamp - Flavor Date
Datatype Release 1 | Realm | Flavors |
---|---|---|
TS.DATE | UV |
constrains TS so that it may only contain a date value YYYYMMDD (or YYYYMM or YYYY)
def: let hasTimezone : Boolean = value.pos("+") > 0 or value.pos("-") > 0
inv "Date": not hasTimezone and value.size <= 8
Operationalization
May only contain a date value YYYYMMDD (or YYYYMM or YYYY)
Registered Attributes and Child Elements
@Attribute / Element | Cardinality | Datatype |
---|---|---|
@value | optional | ts |
@nullFlavor | optional | cs |
Core Schematron Rules (CSR)
The following rules are defined in the base core schematrons.
Rule ID: TS.DATE
Extends Rule(s): TS Constraints |