UA 3905 then UA 3871 at San Francisco
Tokyo Haneda → San Francisco → Xiamen
Timetable, San Francisco time
16:33UA 3905 from Tokyo Haneda at the gate
09:30UA 3871 to Xiamen leaves the gate
16 h 57 apart on the timetable, overnight
UA 3871 leaves 16 h 57 after UA 3905 arrives on the timetable: more than half a day, so not a connection we count.