@Test public void addTimeChange() throws Exception { String myTime = "05:08"; System.out.println(TimerHelper.changeTimeStyle("HH:mm","yyyy-MM-dd HH:mm:ss",myTime)); }
结果是 1970-01-01 05:08:00
@Test public void addTimeChange() throws Exception { String myTime = "05:08"; System.out.println(TimerHelper.changeTimeStyle("HH:mm","yyyy-MM-dd HH:mm:ss",myTime)); }
结果是 1970-01-01 05:08:00