public static void main(String[] args) throws Exception {
DateFormat formart = new SimpleDateFormat("hh:mm");
Date day=formart.parse("12:00");
System.out.println(day.toString());
}
不是应该是12:00吗?
添加回答
举报
0/150
提交
取消
