def _validate_end_time(self, text):
        try:
            endval = datetime.strptime(text, self.conf['locale']['timeformat'])
            self._enddt = self.localize_end(datetime.combine(self._enddt.date(), endval.time()))
        except __HOLE__:
            return False
        else:
            return endval
dataset/ETHPy150Open pimutils/khal/khal/ui/startendeditor.py/StartEndEditor._validate_end_time