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 TypeMethodDescriptionboolean
long
long
long
getStart()
static String
getStringDuration
(long difference) int
hashCode()
static AuditDuration
sumDuration
(Collection<AuditDuration> durations) toString()
-
Method Details
-
getStart
public long getStart()- Specified by:
getStart
in interfaceAuditDuration
- Returns:
- the start time in millisecs
-
getFinish
public long getFinish()- Specified by:
getFinish
in interfaceAuditDuration
- Returns:
- the finish time in millisecs
-
getDifference
public long getDifference()- Specified by:
getDifference
in interfaceAuditDuration
- Returns:
- the difference between the start and finish time in millisecs
-
getDuration
- Specified by:
getDuration
in interfaceAuditDuration
- Returns:
- a string representation of the duration.
-
equals
-
hashCode
public int hashCode() -
toString
-
getStringDuration
-
sumDuration
-