Date 之SimpleDateFormat

Date s = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(start_time);
字符串start_time必须与括号内格式长度一致,,14位数字

猜你喜欢

转载自www.cnblogs.com/hjy2018/p/9572695.html