save the hour_of_day and minute_of_hour as validations + basic refactoring