Add support for -DstartTime and -DendTime (fixes #9)