### Question:
IMSTimePoint implements Comparable<IMSTimePoint> { public static IMSTimePoint incrementDay(IMSTimePoint imsTimePoint) { IMSTimePoint localIMSTimePoint = imsTimePoint; LocalDate dtOrg, dtPlusOne; DateTimeFormatter format = DateTimeFormatter.ofPattern(DATE_FORMAT); dtOrg = LocalDate.parse(localIMSTimePoint.getDate(), format); DateTimeFormatter outputFormat = DateTimeFormatter.ofPattern(DATE_FORMAT); dtPlusOne = dtOrg.plusDays(1); localIMSTimePoint.setDate(outputFormat.format(dtPlusOne)); return localIMSTimePoint; } IMSTimePoint(long epochTime); String toString(); String getDate(); void setDate(String date); int getHourIndex(); void setHourIndex(int hourIndex); static IMSTimePoint incrementHour(IMSTimePoint imsTimePoint); static IMSTimePoint incrementDay(IMSTimePoint imsTimePoint); static List<IMSTimePoint> build(List<Range> ranges); @Override int hashCode(); @Override boolean equals(Object obj); static List<IMSTimePoint> appendListFromStartToEndHours(int start, int end, List<IMSTimePoint> imsTimePointList, Range elt); LocalDateTime getDateTime(); @Override int compareTo(IMSTimePoint o);  }### Answer:
@Test public void incrementDay() { long epTime = Long.valueOf("1574641835000"); IMSTimePoint epochTime = new IMSTimePoint(epTime); assertEquals("2019-11-24", epochTime.getDate()); long epTime2 = Long.valueOf("1574645435000"); IMSTimePoint epochTime2 = new IMSTimePoint(epTime2); assertEquals("2019-11-24", epochTime2.getDate()); IMSTimePoint.incrementDay(epochTime); IMSTimePoint.incrementDay(epochTime2); assertEquals("2019-11-25", epochTime.getDate()); assertEquals("2019-11-25", epochTime2.getDate()); epochTime2.setDate("2018-11-01"); assertEquals("2018-11-01", epochTime2.getDate()); IMSTimePoint.incrementDay(epochTime2); assertEquals("2019-11-25", epochTime.getDate()); assertEquals("2018-11-02", epochTime2.getDate()); }