<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def end_time(self):
 """End timestamp of the dataset"""

        try:
            return self.start_time + SCAN_DURATION[self.sector]
        except KeyError:
            return self.start_time