CA 985 then QR 2989 at San Francisco
Beijing → San Francisco → Lihue
Timetable, San Francisco time
09:30CA 985 from Beijing at the gate
08:20QR 2989 to Lihue leaves the gate
22 h 50 apart on the timetable, overnight
QR 2989 leaves 22 h 50 after CA 985 arrives on the timetable: more than half a day, so not a connection we count.