/**
* 解析时间
*/
public static synchronized String getDateTime(String time) {
SimpleDateFormat sdf = new SimpleDateFormat("MMM d, yyyy K:m:s a", Locale.ENGLISH);
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date d2 = null;
String format= null;
try {
d2 = sdf.parse(time);
format = formatter.format(d2);
} catch (ParseException e) {
e.printStackTrace();
}
return format;
}