AA 3162 then CZ 2502 at O'Hare
New York JFK → Chicago → Shanghai
Timetable, Chicago time
16:56AA 3162 from New York JFK at the gate
13:55CZ 2502 to Shanghai leaves the gate
20 h 59 apart on the timetable, overnight
CZ 2502 leaves 20 h 59 after AA 3162 arrives on the timetable: more than half a day, so not a connection we count.