Coverage details for net.sf.tourviewer.ciclo.CM414MInfo3Record

LineHitsSource
1 package net.sf.tourviewer.ciclo;
2  
3  
4  
5 public class CM414MInfo3Record extends AbstractRecord {
6  
7     private int totalDistance1;
8     private int totalDistance2;
9     private long totalTravelTime1;
10     private long totalTravelTime2;
11  
12     public CM414MInfo3Record(int[] data) {
130        super(data);
14         
150        this.totalDistance1 = getHex(2);
160        this.totalDistance2 = getHex(3);
170        this.totalTravelTime1 = getHexH(4) * 60 + getHexH(4) + getHexH(6) * 3600 + getHexL(6) * 3600 * 100;
180        this.totalTravelTime2 = getHexH(5) * 60 + getHexH(5) + getHexH(7) * 3600 + getHexL(7) * 3600 * 100;
190    }
20     
21     public String toString()
22     {
230        return getDataString();
24     }
25  
26     
27     public int getTotalDistance1()
28     {
290        return totalDistance1;
30     }
31  
32     
33     public int getTotalDistance2()
34     {
350        return totalDistance2;
36     }
37  
38     
39     public long getTotalTravelTime1()
40     {
410        return totalTravelTime1;
42     }
43  
44     
45     public long getTotalTravelTime2()
46     {
470        return totalTravelTime2;
48     }
49     
50 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.