End times earlier than start times are treated as next day. Equal times mean zero minutes, not 24 hours. This calculates clock-time differences, not daylight-saving transitions.