Interface TimeComparator

    • Method Detail

      • satisfyCurEndTime

        boolean satisfyCurEndTime​(long time,
                                  long endTime)
        Returns:
        true if time is satisfied with endTime, otherwise false
      • getCurrentEndTime

        long getCurrentEndTime​(long time1,
                               long time2)
        Returns:
        min(time1, time2) if order by time asc, max(time1, time2) if order by desc