Handling invalid times

Introduced LapTime and LapTimeDelta to assist with time handling.