'Returns true if \'t\' falls between start_time and end_time, inclusive.
Arguments:
t: a datetime object, in self.timezone
Returns:
a boolean'

def _TimeIsInRange(self, t):

    previous_start_time = self._GetPreviousDateTime(t, self.start_time, self.timezone)
    previous_end_time = self._GetPreviousDateTime(t, self.end_time, self.timezone)
    if (previous_start_time > previous_end_time):
        return True
    else:
        return (t == previous_end_time)
