public final class CoverageTime extends Object
Modifier and Type | Method and Description |
---|---|
static double |
percentCoverageTime(CoverageQueryResult coverage)
Compute the percentage of time when coverage exists.
|
static double |
totalCoverageTime(CoverageQueryResult coverage)
Compute the total time in seconds when coverage exists.
|
public static double percentCoverageTime(@Nonnull CoverageQueryResult coverage)
coverage
- Data containing the satisfaction intervals when coverage exists.public static double totalCoverageTime(@Nonnull CoverageQueryResult coverage)
coverage
- Intervals when coverage exists.