U2 8084 then BA 2242 at Gatwick
Palma de Mallorca → London → Riga
Timetable, London time
18:10U2 8084 from Palma de Mallorca at the gate
17:45BA 2242 to Riga leaves the gate
23 h 35 apart on the timetable, overnight
BA 2242 leaves 23 h 35 after U2 8084 arrives on the timetable: more than half a day, so not a connection we count.