UA 868 then CZ 2502 at O'Hare
Tokyo Narita → Chicago → Shanghai
Timetable, Chicago time
14:50UA 868 from Tokyo Narita at the gate
13:55CZ 2502 to Shanghai leaves the gate
23 h 05 apart on the timetable, overnight
CZ 2502 leaves 23 h 05 after UA 868 arrives on the timetable: more than half a day, so not a connection we count.