Community
Participate
Working Groups
Initial support has been added so that generation can get started on its part, but this item is (probably) not complete.
The final core changes have been released.
Jeff add these rules for time/date/timestamp and implemented them in both JavaGen & JSGen in 0.8.1 I2 and these 1) when any string is assigned to a timestamp, the string MUST contains separator characters between each part of the timestamp. These sep characters are any non-digit, and do not have to match each other. However there cannot be a sep character at the very beginning, very end, or more than 1 immediately together. these are valid examples: ats timestamp = "2012-05-25 11:12:13"; ats timestamp = "2012/05/25-11:12:13"; ats timestamp = "2012-05-25 11-12-13"; these are INVALID examples: ats timestamp = "2012-05-25 11:12:"; ats timestamp = "2012/05/25--11:12:13"; ats timestamp = "2012---05-25 11-12-13"; ats timestamp = "20120525111213"; 2) when any string is assigned to a date, the string MUST contains separator characters between each part of the date. These sep characters are any non-digit, and do not have to match each other. However there cannot be a sep character at the very beginning, very end, or more than 1 immediately together. these are valid examples: ats date = "05/25/2012"; ats date = "05-25-2012"; ats date = "05-25/2012"; these are INVALID examples: ats date = "05--25/2012"; ats date = "05-25/"; ats date = "05252012"; 3) when any string is assigned to a time, the string MUST contains separator characters between each part of the time. These sep characters MUST BE a colon (:). However there cannot be a sep character at the very beginning, very end, or more than 1 immediately together. these are valid examples: ats time = "12:13:14"; these are INVALID examples: ats time = "12-13-14"; ats time = "121314"; 4) timestamp.extend, time.extend and date.extend must all pass a timestamp mask in the form yyyyMMddhhmmssffffff, or a subset of that, in that order. It cannot pass sep characters.