Maybe add a case for 1000:00 (to be clear that hours > 999 are not allowed). I assume that decision was intentional.