Interface TimeDiffService

  • All Known Implementing Classes:
    DefaultTimeDiffService

    public interface TimeDiffService
    Service to calculate a time difference.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Long difference​(java.util.Date date)
      Calculates a time difference in milliseconds between current date and provided date.
    • Method Detail

      • difference

        java.lang.Long difference​(java.util.Date date)
        Calculates a time difference in milliseconds between current date and provided date.
        Parameters:
        date - the Date to calculate the difference with.
        Returns:
        the difference in milliseconds.