private boolean isLegAfterPrevious(TravelLeg leg) {
return (travelLegs.get(travelLegs.size() - 1).getArrivalTime().before(leg.getDepartureTime()));
}
private boolean isLegAfterPrevious(TravelLeg leg) {
return (travelLegs.get(travelLegs.size() - 1).getArrivalTime().before(leg.getDepartureTime()));
}