UA 5502 then QR 2989 at San Francisco
Monterey → San Francisco → Lihue
Timetable, San Francisco time
09:16UA 5502 from Monterey at the gate
08:20QR 2989 to Lihue leaves the gate
23 h 04 apart on the timetable, overnight
QR 2989 leaves 23 h 04 after UA 5502 arrives on the timetable: more than half a day, so not a connection we count.