Package org.verapdf.component
Class AuditDurationImpl
java.lang.Object
org.verapdf.component.AuditDurationImpl
- All Implemented Interfaces:
AuditDuration
- Version:
- 0.1 Created 27 Oct 2016:13:03:27
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonglonggetStart()static StringgetStringDuration(long difference) inthashCode()static AuditDurationsumDuration(Collection<AuditDuration> durations) toString()
-
Method Details
-
getStart
public long getStart()- Specified by:
getStartin interfaceAuditDuration- Returns:
- the start time in millisecs
-
getFinish
public long getFinish()- Specified by:
getFinishin interfaceAuditDuration- Returns:
- the finish time in millisecs
-
getDifference
public long getDifference()- Specified by:
getDifferencein interfaceAuditDuration- Returns:
- the difference between the start and finish time in millisecs
-
getDuration
- Specified by:
getDurationin interfaceAuditDuration- Returns:
- a string representation of the duration.
-
equals
-
hashCode
public int hashCode() -
toString
-
getStringDuration
-
sumDuration
-