AF 2370 then DL 5297 at JFK
Washington → New York → Rochester
Timetable, New York time
21:27AF 2370 from Washington at the gate
21:16DL 5297 to Rochester leaves the gate
23 h 49 apart on the timetable, overnight
DL 5297 leaves 23 h 49 after AF 2370 arrives on the timetable: more than half a day, so not a connection we count.