这个异常的原因是日期格式错误,这样是不行的
Date chargeStatPunishmentStopDate = new Date("2007-07-13");
要改成这样
Date chargeStatPunishmentStopDate = new Date("2007/07/13");
问题解决
黑色头发 http://heisetoufa.iteye.com
heisetoufa ©著作权
这个异常的原因是日期格式错误,这样是不行的
Date chargeStatPunishmentStopDate = new Date("2007-07-13");
要改成这样
Date chargeStatPunishmentStopDate = new Date("2007/07/13");
问题解决
黑色头发 http://heisetoufa.iteye.com
java 如何获取一个空的DATE对象
java.util.date java.util.date 比较
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M