(Imported from Google Code)
Suggested by Jeff Vettraino:
The date attributes in the Dates component were originally standard XML date types. In DDMS 4.1, a custom date format was added.
To support this, I originally deprecated the Dates accessors that returned attribute values as XMLGregorianCalendar instances, and instead offered a getXxxxString() accessor to get to the raw string data, unparsed.
Jeff suggests that the DDMS 4.1 custom date format could probably be compatible with XMLGregorianCalendar by providing defaults for missing values – for example, 00 seconds when no seconds are included in the string. This would allow the original accessor methods to return an XMLGregorianCalendar instance for the DDMS custom format, and the methods would no longer need to be marked as deprecated.
All allowable date strings: