By the way, these two patterns (old and suggested) seem to almost match that of an XML schema dateTime format. However, in order to match that, the patterns would need to be:
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
You should also be aware that this form of the XML schema dateTime pattern expresses all dates in GMT or UTC time. Additional logic is needed to parse XML schema dateTimes containing timezone offsets such as the one below which represents Aug 7, 2007 at 8:37 AM in the US Mountain timezone: