    @Test
    public void testGetTime() throws Exception {

        Calendar cal = Calendar.getInstance();
        cal.set(2015, Calendar.FEBRUARY, 23, 15, 0, 0);
        Date time = DateHelper.getTime(cal.getTime());
        assertTrue(DateHelper.isOnlyTime(time));
    }