### Question:
DailyUtils { public static int getHour(long time) { DateFormat format = new SimpleDateFormat("HH"); String hour = format.format(new Date(time * 1000l)); if (hour.substring(0, 1).equals("0")) { hour = hour.substring(1); } return Integer.parseInt(hour); }  static String getSomeDayDate(int N); static int getHour(long time);  }### Answer:
@Test public void testGetHour() { assertTrue(DailyUtils.getHour(System.currentTimeMillis() / 1000) >= 0); assertTrue(DailyUtils.getHour(System.currentTimeMillis() / 1000) <= 23); }