java如果使用DateTimeFormatter格式化Jun 15 16:52:22类型的时间,因为涉及到多线程问题,担心用SimpleDateFormat会出错
###private static final ThreadLocal<DateFormat> sdf = new ThreadLocal<DateFormat>(){
@override
protected DateFormat initialValue() {
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
}
}