LH 977 then DE 2228 at Frankfurt
Dublin → Frankfurt am Main → Punta Cana
Timetable, Frankfurt am Main time
12:10LH 977 from Dublin at the gate
11:15DE 2228 to Punta Cana leaves the gate
23 h 05 apart on the timetable, overnight
DE 2228 leaves 23 h 05 after LH 977 arrives on the timetable: more than half a day, so not a connection we count.