【发布时间】:2014-11-06 05:00:23
【问题描述】:
“Fri, 12 Sep 2014 05:00:23 GMT”,SimpleDateFormat 有什么问题?
SimpleDateFormat sdf = new SimpleDateFormat(format);
sdf.parse(dateString);
format: "EEE, dd MMM yyyy HH:mm:ss 'GMT'"
dateString:"Fri, 12 Sep 2014 05:00:23 GMT"
怎么了?
【问题讨论】:
-
错误/预期的输入和输出是什么?
-
报告错误:java.text.ParseException: Unparseable date: "Fri, 12 Sep 2014 05:00:23 GMT"
标签: android datetime time timezone simpledateformat