Package org.verapdf.component
Interface AuditDuration
- All Known Implementing Classes:
AuditDurationImpl
public interface AuditDuration
Simple class that encapsulates the duration of an action in milliseconds.
Used for recording durations for process auditing.
- Version:
- 0.1
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
-
Method Details
-
getStart
long getStart()- Returns:
- the start time in millisecs
-
getFinish
long getFinish()- Returns:
- the finish time in millisecs
-
getDifference
long getDifference()- Returns:
- the difference between the start and finish time in millisecs
-
getDuration
String getDuration()- Returns:
- a string representation of the duration.
-