def _evalTimeStr(self, datetimeString, sourceTime):
        """
        Evaluate text passed by L{_partialParseTimeStr()}
        """
        s = datetimeString.strip()
        sourceTime = self._evalDT(datetimeString, sourceTime)

        if s in self.ptc.re_values['now']:
            self.currentContext.updateAccuracy(pdtContext.ACU_NOW)
        else:
            # Given string is a natural language time string like
            # lunch, midnight, etc
            sTime = self.ptc.getSource(s, sourceTime)
            if sTime:
                sourceTime = sTime
            self.currentContext.updateAccuracy(pdtContext.ACU_HALFDAY)

        return sourceTime
def _evalTimeStr ( self , datetimeString , sourceTime ) : s = datetimeString . strip ( ) sourceTime = self . _evalDT ( datetimeString , sourceTime ) if s in self . ptc . re_values [ 'now' ] : self . currentContext . updateAccuracy ( pdtContext . ACU_NOW ) else : sTime = self . ptc . getSource ( s , sourceTime ) if sTime : sourceTime = sTime self . currentContext . updateAccuracy ( pdtContext . ACU_HALFDAY ) return sourceTime
Evaluate text passed by L{_partialParseTimeStr()}