for( final String to : locations )
{
fromDate = nextDate( date );
toDate = nextDate( fromDate );
date = nextDate( toDate );
transitEdges.add( new TransitEdge( voyageNumber, from, to, fromDate, toDate ) );
// Arrival location of last carrier movement becomes departure location of next
from = to;
}
// Final carrier movement
fromDate = nextDate( date );
toDate = nextDate( fromDate );
transitEdges.add( new TransitEdge( voyageNumber, from, destination, fromDate, toDate ) );
voyages.add( new TransitPath( transitEdges ) );
}
// Output for testing...