static String getFormattedTimestamp ( ) { DateFormat df = dateFormatPool . getAndSet ( null ) ; if ( df == null ) { df = createISODateFormat ( ) ; } String timestamp = df . format ( new Date ( ) ) ; dateFormatPool . set ( df ) ; return timestamp ; }
Get a ISO 8601 formatted timestamp of now .