def get_start_time(self):
if not isinstance(self.duration, tuple):<EOL><INDENT>return None<EOL><DEDENT>if self.duration[<NUM_LIT:0>] is not None:<EOL><INDENT>return self.duration[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>if (self.previous_entry and<EOL>isinstance(self.previous_entry.duration, tuple) and<EOL>self.previous_entry.duration[<NUM_LIT:1>] is not None):<EOL><INDENT>return self.previous_entry.duration[<NUM_LIT:1>]<EOL><DEDENT><DEDENT>return None<EOL>
Return the start time of the entry as a :class:`datetime.time` object.
If the start time is `None`, the end time of the previous entry will be
returned instead. If the current entry doesn't have a duration in the
form of a tuple, if there's no previous entry or if the previous entry
has no end time, the value `None` will be returned.