摘要: DateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Date date = format.parse("2015-10-2"); Timestamp timestamp = new Timestamp(date.getTime()); ... 阅读全文
posted @ 2015-11-27 10:35 zshblog 阅读(325) 评论(0) 推荐(0) 编辑