WN 4954 then OZ 6315 at San Francisco
San Diego → San Francisco → Washington
Timetable, San Francisco time
18:15WN 4954 from San Diego at the gate
16:52OZ 6315 to Washington leaves the gate
22 h 37 apart on the timetable, overnight
OZ 6315 leaves 22 h 37 after WN 4954 arrives on the timetable: more than half a day, so not a connection we count.