getStartTime and getEndTime now return Time objects