SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.US); Date test = sdf.parse("Tue Nov 13 14:35:04 +0000 2012"); System.out.print(test.toString());
欢迎分享,转载请注明来源:内存溢出
SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss Z yyyy", Locale.US); Date test = sdf.parse("Tue Nov 13 14:35:04 +0000 2012"); System.out.print(test.toString());
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)