ftsg.net
当前位置:首页 >> jAvA怎么转换TuE Jul 12 00:00:00 GMT+08:00 2016... >>

jAvA怎么转换TuE Jul 12 00:00:00 GMT+08:00 2016...

public static void main(String[] args) throws ParseException { String s = "Tue Jul 12 00:00:00 GMT+08:00 2016"; SimpleDateFormat sf1 = new SimpleDateFormat("EEE MMM dd hh:mm:ss z yyyy", Locale.ENGLISH); Date date = sf1.parse(s...

网站首页 | 网站地图
All rights reserved Powered by www.ftsg.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com