I have a requirement for parsing ISO8601 formatted strings in Java with various levels of accuracy. Some examples of the string I need to parse are:
create a lookup table of DateFormatters or whatever you're using based on the length of the input String and the occurrence of 'T'