Fix DelayTimer.

Fix DelayTimer's failure to stop charging if start and end times straddle across midnight.