AV 6985 then UA 7949 at San Francisco
Vancouver → San Francisco → Tokyo Narita
Timetable, San Francisco time
16:06AV 6985 from Vancouver at the gate
11:05UA 7949 to Tokyo Narita leaves the gate
18 h 59 apart on the timetable, overnight
UA 7949 leaves 18 h 59 after AV 6985 arrives on the timetable: more than half a day, so not a connection we count.