static Date parseTimestamp ( String timestamp ) throws ParseException { DateFormat df = dateFormatPool . getAndSet ( null ) ; if ( df == null ) { df = createISODateFormat ( ) ; } Date date = df . parse ( timestamp ) ; dateFormatPool . set ( df ) ; return date ; }
Parse an ISO 8601 formatted timestamp