question: private static synchronized Date parseDateString ( String textRepresentation ) throws ParseException { try { return sdfDefault . parse ( textRepresentation ) ; } catch ( ParseException ex ) { return sdfGnuStep . parse ( textRepresentation ) ; } }
target:  Parses the XML date string and creates a Java Date object from it. This function is synchronized as SimpleDateFormat is not thread-safe.