fix the last commit to use a correct Python syntax
throw a ParseError when the user enters an out of bound time