nl: converts an iso 8601 string to an xmpdatetime . parse a date according to iso 8601 and http://www.w3.org/tr/note-datetime : yyyy yyyy-mm yyyy-mm-dd yyyy-mm-ddthh : mmtzd yyyy-mm-ddthh : mm : sstzd yyyy-mm-ddthh : mm : ss.stzd data fields : yyyy = four-digit year mm = two-digit month 01 = january , etc. dd = two-digit day of month 01 through 31 hh = two digits of hour 00 through 23 mm = two digits of minute 00 through 59 ss = two digits of second 00 through 59 s = one or more digits representing a decimal fraction of a second tzd = time zone designator z or + hh : mm or - hh : mm note that iso 8601 does not seem to allow years less than 1000 or greater than 9999 . we allow any year , even negative ones . the year is formatted as '' % .4 d '' . note : tolerate missing tzd , assume is utc . photoshop 8 writes dates like this for exif : gpstimestamp . note : does not apply anymore . tolerate missing date portion , in case someone foolishly writes a time-only value that way . concode_field_sep String str concode_elem_sep int pos concode_field_sep char ch concode_elem_sep char ch concode_elem_sep int pos concode_elem_sep int length concode_elem_sep boolean hasNext concode_elem_sep void skip concode_elem_sep String render concode_elem_sep int gatherInt
code: XMPDateTime function ( String arg0 ) { return parse ( arg0 , new XMPDateTimeImpl ( ) ) ; }