AS 3251 then UA 3871 at San Francisco
Santa Ana → San Francisco → Xiamen
Timetable, San Francisco time
09:34AS 3251 from Santa Ana at the gatealso AA 9286
09:30UA 3871 to Xiamen leaves the gate
23 h 56 apart on the timetable, overnight
UA 3871 leaves 23 h 56 after AS 3251 arrives on the timetable: more than half a day, so not a connection we count.