Constraint Descriptor : dtits017 (type: ERROR, kind: )

Constraint : dtits017

Constraint Name
dtits017 (type: ERROR, kind: )
Constraint Class
TSSpec
Package
cdadt
Description
In TS datatype, value SHALL have a valid timestamp (DTITS-017)
OCL
self.value.oclIsUndefined() or 
self.matches(self.value, '(18|19|20|21)\\d\\d((0[1-9]|1[012])((0[1-9]|[12][0-9]|3[01])(([0-1]\\d|[2][0-3])(([0-5]\\d)(([0-5]\\d)((\\.[0-9]+)?)?)?)?)?)?((\\+|\\-)[0-9]{1,4})?)?')