added Exception for parseStartTime and parseEndTime