def determine_time(self, time_token):
        """Parses time token into a time.

        Note: ambiguous times like "6" are converted according to how Google
        Calendar interprets them. So "1" - "6" are converted to 13-18 on a 24 hour
        clock.

        Args:
          time_token: String to be interpreted as an hour and minute.

        Returns:
          Time object with hour and minute fields filled in if the
          time_token could be parsed. Otherwise, None.
        """
        hour, minute = parse_ambiguous_time(time_token)
        if (hour or minute):
            # The ambiguous hours arranged in order, according to Google Calendar:
            # 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6
            if 1 <= hour and hour <= 6:
                hour += 12
        else:
            tmp, _ = self._extract_time(time_token, ACCEPTED_TIME_FORMATS)
            if not tmp:
                LOG.debug('%s did not match any expected time formats')
                return None
            hour = tmp.hour
            minute = tmp.minute
        return datetime.time(hour=hour, minute=minute)
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/calendar/date.py/DateParser.determine_time/original