标签:download .class orm ever end cocos home 微博 send
String a = "Sun Nov 13 21:56:41 +0800 2011";
SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.US);//MMM dd hh:mm:ss Z yyyy
try {
System.out.println(sdf.parse(a));
} catch (ParseException ex) {
Logger.getLogger(JavaApplication1.class.getName()).log(Level.SEVERE, null, ex);
}
java parse 带英文单词的日期字符串 转 date (转化新浪微博api返回的时间)
标签:download .class orm ever end cocos home 微博 send
原文地址:http://www.cnblogs.com/adolfmc/p/6938883.html