def earliest_start(activities): return strtime2num(min(a.start_time for a in activities))
def latest_end(activities): return strtime2num(max(a.end_time for a in activities))