throw UserException instead of runtime_exception to be more coherent
added unit tests on convertStringToWallTime
Documented convertStringToWallTime
Indentation
Refactored convertStringToWallTime.
This method had a large cyclomatic complexity (27)