Take care of SimpleDateFormat class thread safety.