Problems:
- You are cramming a time-of-day value into a date-time object.
- You are using notoriously troublesome old date-time classes, now legacy, supplanted by the java.time classes.
The LocalTime
class represents a time-of-day value without a date and without a time zone.
LocalTime start = LocalTime.parse( "00:44:16" );
LocalTime stop = LocalTime.parse( "04:02:39" );
The Duration
represents a span of time not attached to the timeline.
Duration duration = Duration.between ( start , stop );