Hide Forgot
IBM Style Guide pg 178-181 lists some dos and don'ts with dates. We should either present some kind of warning or enforce conformance with these rules through the PG editor. One area where this is most visible are the revision histories. One option is to check anything in a <date> element conforms to a standard date format. The format "Mon 24 Jun 2013" seems to be commonly used.
Java parses the following dates: MM-dd-yyyy MM/dd/yyyy yyyy-MM-dd yyyy/MM/dd EEE MMM dd yyyy EEE, MMM dd yyyy EEE MMM dd yyyy Z EEE dd MMM yyyy EEE,dd MMM yyyy EEE dd MMM yyyy Z yyyyMMdd yyyyMMdd'T'HHmmss.SSSZ Of those, the following are acceptable according the the IBM style guide EEE, MMM dd yyyy EEE,dd MMM yyyy
Just want to amend the above statement. Java can parse anything you can construct with a SimpleDateFormat, although the more formats the longer it's likely to take to parse. The above is what we currently allow when validating the Revision History in the builder.