public int getStartTime(int position) {
<BUG>return startTimes[position];
</BUG>
}
public int getEndTime() {
<BUG>if(endTimes.length == 0) {
</BUG>
return 0;
}
<BUG>return endTimes[0];
</BUG>
}

public int getStartTime(int position) {
return startTimes.get(position);
}
public int getEndTime() {
if(endTimes.size() == 0) {
return 0;
}
return endTimes.get(0);
}
