Originally Posted by
TrojanHorse
If there are multiple flights in that less than six hour window
the example I'll use is say LAX-DFW
In order to make it a connection, must you take the very next legal LAX-DFW connection or can you say take another LAX-DFW connection as long as its under the 6 hour window?
As BOSman explained, you should be fine except that LAX-DFW is domestic (not international) and hence the window is 4 hours instead of 6.
In the following logic, you stop at line 2 and hence the rest of the logic does not apply
if layover <= 6hr then (4hr for domestic leg)
it is connection
else if layover > 24 hr then
it is stopover
/ * you come to the next part of logic only when layover is between 6 and 24 hours */
else if you are catching first SCHEDULED flight then
it is connection
else
it is stopover (irrespective if earlier flight has availibility or not)
end if