Interface TimeDiffService
- All Known Implementing Classes:
DefaultTimeDiffService
public interface TimeDiffService
Service to calculate a time difference.
-
Method Summary
Modifier and TypeMethodDescriptiondifference(Date date) Calculates a time difference in milliseconds between current date and provided date.
-
Method Details
-
difference
Calculates a time difference in milliseconds between current date and provided date.- Parameters:
date- theDateto calculate the difference with.- Returns:
- the difference in milliseconds.
-